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

215
votes
32answers
105k 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 ...
117
votes
14answers
63k views

How to backup settings and list of installed packages

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 ...
71
votes
6answers
36k 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.* ...
53
votes
9answers
160k 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, ...
37
votes
4answers
6k 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 ...
28
votes
3answers
7k 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? ...
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, ...
24
votes
4answers
19k 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 ...
23
votes
4answers
9k 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 ...
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 ...
22
votes
9answers
35k 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 ...
21
votes
3answers
8k 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 ...
19
votes
3answers
3k 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
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?
18
votes
4answers
53k 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 ...
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?
16
votes
4answers
39k 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 ...
16
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
3answers
1k 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
11answers
6k views

How to back up my entire 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 ...
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
1answer
10k 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 ...
13
votes
1answer
4k 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 ...
13
votes
3answers
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
1k 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
2answers
6k 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 ...
12
votes
4answers
963 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 ...
11
votes
6answers
8k 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 ...
11
votes
3answers
6k 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
6k 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
3answers
11k 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 ...
11
votes
5answers
304 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
21k 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
1answer
2k views

What is the default 'backup' user for?

I am setting up multiple-machine backup plan and I was hoping to use a user called 'backup' on each machine as the backup destination. My problem is, there is already a user called 'backup' on my ...
10
votes
3answers
5k 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
1answer
16k 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 .
10
votes
4answers
3k 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, ...
10
votes
3answers
377 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
3answers
5k 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? ...
10
votes
4answers
325 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
10
votes
3answers
27k 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
6answers
20k 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?
9
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 ...
9
votes
6answers
2k views

Clone system and auto replicate the changes

Is it possible to clone an Ubuntu system and if any changes are made to original system, those should be replicated to the one cloned? I need to have backup support if original one gets down. In my ...
9
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 ...
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
3answers
1k 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 ...