Backup is the activity of copying files or databases so that they will be preserved in case of equipment failure or other catastrophe. This tag covers restoring from backup as well.

learn more… | top users | synonyms

201
votes
31answers
84k views

Comparison of backup tools

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions ...
97
votes
14answers
48k views

Best way to backup all settings, list of installed packages, tweaks, etc?

If I want to make a backup of everything I have done since the fresh install of Ubuntu, what are the possible options? What all should I backup? I want to get all the settings that I changed, all the ...
67
votes
6answers
28k views

What's the difference between .tar.gz and .gz, or .tar.7z and .7z?

Recently, I've been backing up a lot of my data, and I noticed that I can save files as .gz or .tar.gz, or .7z and .tar.7z, etcetera. What are the differences between the normal one and the .tar.* ...
49
votes
9answers
131k views

How to make a disk image and restore from it later?

I'm a new Linux user. I've reinstalled my Wubi from scratch at least ten times the last few weeks because while getting the system up and running (drivers, resolution, etc.) I've broken something (X, ...
33
votes
4answers
4k views

What are the alternatives to Ubuntu One? [closed]

Since canonical is shutting down Ubuntu One, what are the possible alternatives? I currently use Ubuntu One as a backup service for my Documents folder and various other folders I deem important. Of ...
26
votes
8answers
2k views

How to keep “dot files” under version control?

Etckeeper is a great tool for keeping track of changes to your configuration files in /etc A few key things about it really stand out. It can be used with a wide variety of VCSs: git, mercurial, ...
23
votes
3answers
3k views

What can I use to automate backups of Gmail?

I'd like to automate the process of locally backing up my Gmail account, and am looking for a solution that: can be scheduled to run in the background does not cause messages to be marked as read ...
23
votes
2answers
6k views

What files and directories can be excluded from a backup of the home directory?

Duplicity does already a great job of making efficient backups, but I want still to minimize the amount of files being back-upped. What files or directories can be excluded in a home directory? ...
20
votes
8answers
29k views

How to do a one way synchronization between folders?

I want to do one way synchronization. I am having Folder A on my computer which is constantly updated with content. Another Folder B is used for backup purpose which is on external HDD. Now what I ...
20
votes
2answers
6k views

What is safe to exclude for a full system backup?

I'm looking for a list which paths/files are safe to exclude for a full system/home backup. Considering that I have a list of installed packages. /home/*/.thumbnails /home/*/.cache ...
18
votes
3answers
2k views

How can I backup my PPAs?

Related to this question. But my concern is that over the past year, most of my more interesting (or used) applications are from PPAs, and just backing up my sources list won't add the associated ...
18
votes
3answers
13k views

Mount single partition from image of entire disk (device)

I made an image of my entire disk with dd if=/dev/sda of=/media/external_media/sda.img Now the problem is I'd like to mount an ext4 filesystem that was on that disk but mount -t ext4 -o loop ...
18
votes
3answers
7k views

Where are GNOME keyboard shortcuts stored?

I usually load a new version for every release to keep my OS fresh while preserving the last version on another partition as backup. I also employ a lot of custom key mappings. I've figured out how ...
17
votes
4answers
7k views

How can I backup my Repositories?

I want to backup all the repositories I added to the Ubuntu Software Center, but apparently sources.list contains only the ones which belong to Canonical. So where do I find the other ones?
17
votes
4answers
5k views

How can I set up hourly Deja-Dup backups?

Is there a way I get the amazing Deja-dup to make me hourly backups in addition to daily, weekly, biweekly etc? If not, is there something else that I could use instead?
15
votes
2answers
2k views

How migrate my keyring (containing ssh passprases, nautilus remote filesystem, pgp passwords) and network manager connections?

I changed the disk on my laptop and installed Ubuntu on the new disk. Old disk had 12.04 upgraded to 12.10 on it. Now I want to copy my old keyring with WiFi passwords, ftp passwords for nautilus ...
15
votes
3answers
2k views

How do I restore Déjà Dup backups without Déjà Dup?

So I'm trying to restore my backup files with Déjà Dup, however, each time I enter in the correct password, it keeps asking for it over and over again. This seems to be a bug, and I have found a ...
14
votes
4answers
44k views

How do I move (copy) my entire Ubuntu system to a different hard disk?

The HDD I have my Ubuntu installed is about to fail. I would rather not lose 3 years worth of data, customisation and apps. I am looking for a way to move the complete system (SWAP included, because ...
14
votes
3answers
817 views

How can I test the integrity of a backup made with Backup (Deja Dup)?

I'm running 11.10 and did a backup with the default program titled "Backup" (Deja Dup). How can I know that it backed up my files correctly / completely?
13
votes
4answers
32k views

How to list user installed applications (not packages)?

Not packages and not all applications. Just the applications user installed by himself from whatever source (Software Center, manually added PPA, etc.). If the above is not possible - a list of all ...
13
votes
2answers
12k views

Where are all my Empathy settings stored?

I would like to know where Empathy stores all my information, so as to be able to back it up and re-use on a different Ubuntu machine. So far I have found only the conversation logs in ...
13
votes
2answers
2k views

How do I create multiple backup jobs using DejaDup backup service?

I'd like to have different backup jobs scheduled at different times and frequencies (for instance, backup my Documents folder daily, but my music folder only on weekends), or backup daily to my local ...
12
votes
7answers
6k views

Backup whole OS

I am running Ubuntu 11.04. But now due to some or other reasons I have to format my entire disk and reinstall the Ubuntu, But I have Installed many softwares on Natty. And when I'll reinstall the ...
12
votes
3answers
946 views

Where do files ending with a ~ come from?

Sometimes duplicate filenames occur while working on Ubuntu which differ only by a ~ from the original filenames. I know kate generates backup files and calls them your_file.py.swp. Is this ...
12
votes
11answers
5k views

How to back up a system?

If I want to make a backup of my entire OS (including but not just my home directory), how do I go about this? Is it as simple as backing up everything in / and then when if I suffer a crash, just ...
12
votes
1answer
8k views

how do I stop automysqlbackup throwing LOCK TABLES error?

How to stop automysqlbackup's cron.daily script -- as installed and configured from apt-get install automysqlbackup -- throwing the following error: mysqldump: Got error: 1142: SELECT,LOCK TABL ...
12
votes
4answers
904 views

What software can be used to create a restorable drive image?

Not sure what Linux software I would use for this, basically just like Acronis True Image for Windows, but for Linux. The rule is that we are keeping Windows out of the equation, I want to be able to ...
12
votes
1answer
3k views

What happens if rsnapshot / rdiff-backup gets interrupted in the middle of a transfer?

Question says it all: What happens if rsnapshot or rdiff-backup gets interrupted in the middle of a transfer? I know that rsnapshot tries to make a complete snapshot of your system in rotating ...
11
votes
3answers
5k views

How to make a btrfs snapshot?

My /home partition consists of an entire physical disk. It is formatted as btrfs. I want to snapshot it. I'm confused regarding subvolume naming, in particular. I am aware that there are similar ...
11
votes
4answers
5k views

How can I keep a folder synchronized to an external USB hard drive?

I have a growing music collection which I manually keep in sync with an external USB drive. Sometimes I edit their ID3 tags, add or delete a file in either the hard drive or the USB drive, and I would ...
11
votes
5answers
280 views

How to make duplicate of whole HDD?

I have an Ubuntu 12.04 production server with a 500 GB (nearly 15 gb used) HDD. I want to duplicate whole HDD including, its partition structure, to another HDD with 400 GB size so that changing the ...
11
votes
5answers
17k views

Easy backup/restore of installed system?

Is there any easy and open source backup/restore solution for installed (after clear install) Ubuntu system, like Acronis Home backup ?
11
votes
4answers
10k views

Can I backup my entire Ubuntu installation to ISO DVD?

This is the third time I have installed Ubuntu on my pc along with Windows 7, but every time I install, I have to upgrade all packages. (Almost 300 - 400 Mb). Is it possible to make a bootable DVD of ...
10
votes
6answers
6k views

How to make and restore incremental snapshots of hard disk

I use Virtual Box a lot for distro / applications testing purposes. One of the features I simply love about it is virtual machines snapshots, its saves a state of a virtual machine and is able to ...
10
votes
3answers
4k views

How do I backup ssh keys?

I am planning to do a fresh install of ubuntu 11.10 in my system. Before that i have setuped key based ssh authentication in this machine. Is it possible to take backup of those ssh keys, so that i ...
10
votes
2answers
5k views

Why can't I copy a 5G file?

I'm trying to backup my VirtualBox, but when I try to copy the .VirtualBox directory to my external hard drive I get an "File too large" error: [130 amanda@luna ~]$ cp -r .VirtualBox ...
10
votes
3answers
356 views

Could it be possible to make a hot copy of a system?

I'd like to backup my system without turning it off. The system clone should also able to run in an other machine. I've tried to "dd" the entire system partition on another disk, after that I'm ...
10
votes
4answers
309 views

Is there a system journal that I can install?

I am talking about a program that will show you all the changes you made to the system, in case I have to trouble shoot my system? A CLI one will be better, in case of worst case scenario
9
votes
3answers
24k views

Backup files with rsync: error 23

I'm trying to make a backup of my /home to transfer all data from one computer to another. I wanted to save the backup on the same computer and than transfere it to another one. For safety reasons, ...
9
votes
3answers
3k views

btrfs snapshot management

1) Is there a gui or curses tool that allows you to view/manage btrfs subvols/snapshots? 2) Is there a utility or already made script that would automatically create and delete snapshots ...
9
votes
2answers
938 views

Clone Ubuntu Machine

I have an install of Ubuntu Maverick on slicehost, that I'd like to replicate on a different machine (a kvm VM install). Is there a simple way of mirroring all it? I mainly care about installed ...
9
votes
2answers
4k views

Automatically sync a folder to a USB when USB is plugged in?

Is there a way to sync a folder to an USB drive when the drive is plugged in? I'd like it to sync, or copy over changes, both ways. I've seen the Back In Time and Unison-GTK applications, but I'd like ...
9
votes
2answers
466 views

Deja Dup (Backup) Not Ignoring Folders

The built in backup application on a fresh installation of Ubuntu 13.04 works great. I have it set to encrypt my files and upload them via SSH to an offsite file server. However, not wanting to ...
8
votes
1answer
13k views

How do I extract a specific file from a tar archive?

Hi is possible to restore a single file from the .tar backup ? I dont want to restore total backup . i just want to restore one single file from the backup .
8
votes
6answers
17k views

Which tool to backup an ext4 partition?

I'm searching for a tool to backup a whole ext4 partition to an image. I tried the latest version of mondo, which is not working. What are good alternatives?
8
votes
4answers
2k views

Is there such a thing as a restore point in Ubuntu?

Windows has this. Basically what I want is to record the state of the system either manually or periodically and then restore to that point if required. For example, before upgrading the distribution, ...
8
votes
3answers
4k views

Is there an application that is like “Time Machine” on the Mac OSX?

If there is an application, does it work like "Time Machine" where it save backups of your computer and if wanted, go back to an earlier time on the computer for example where an virus was not there? ...
8
votes
5answers
2k views

Why does Déjà Dup say there is no space left?

I'm trying to backup my home directory (excluding a few folders). The backup is saved on a ~300 GB partition (called backups) of an internal drive, but not the same drive as the home directory. When I ...
8
votes
2answers
2k views

Clonezilla like app for the desktop?

What I am looking for is a way to clone hard drives (mainly windows partitions) while staying inside of the Ubuntu OS. I do not want to create a partition on the hard drive to boot off of and I am ...
8
votes
1answer
176 views

Is there any way to take my current setup and put it on a live disk, then install it to another machine?

A tutorial or specific directions would be great.