Questions tagged [backup]

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.

Filter by
Sorted by
Tagged with
21 votes
1 answer
21k 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 ...
iainH's user avatar
  • 798
21 votes
2 answers
10k 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 ...
emf's user avatar
  • 1,692
21 votes
4 answers
8k 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 ...
cboettig's user avatar
  • 950
20 votes
1 answer
43k views

How would I use tar for full backup and restore with system on SSD and home on HDD?

How would I use tar for full backup and restore with system on SSD and home on HDD? The existing backup and restore answers don't seem to cover the case where root and home are on separate devices
Buildit's user avatar
  • 201
20 votes
6 answers
44k views

Which is Most TimeMachine-like Backup Program for Ubuntu?

I know this article but there is no comparison to OSX's TimeMachine. I would like to find a backup software which is about the same as TimeMachine or better. I would like to have such a software ...
Léo Léopold Hertz 준영's user avatar
20 votes
2 answers
23k views

How to mount a compressed disk image?

If I make a disk image and compress it with gzip/xz/etc is there a way to mount it directly without first uncompressing it? Say I've used sudo dd if=/dev/sdc1 | gzip -9 > image1.dd.gz how can I ...
Xen2050's user avatar
  • 8,715
20 votes
6 answers
70k 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 ?
Vincenzo's user avatar
  • 2,675
19 votes
4 answers
97k views

Overwrite an existing directory?

I have a directory name foo located in ~/Desktop. Suppose I want to create a directory from a terminal with same name and in the same location. When I tried mkdir it gave an error: mkdir: cannot ...
nux's user avatar
  • 38.1k
19 votes
8 answers
54k 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?
fmowrg's user avatar
  • 475
19 votes
2 answers
16k views

Can I delete incremental backups made with Déjà Dup?

After using Déjà Dup for a while, I keep getting this error after every attempt at a backup: Backup location is too small. Try using one with more space. Could I delete some backups made of ...
Flimm's user avatar
  • 41.8k
18 votes
2 answers
20k views

Backup/clone live to a new partition which can be booted

Ubuntu 18.04 came out April 26, 2018 and I want to try it to upgrade my programs and convert my data but don't want to commit if there are bugs. I've shrunk Windows from 410 GB to 385 GB, rebooted ...
WinEunuuchs2Unix's user avatar
18 votes
2 answers
39k views

Automatic backup of mysql on ubuntu

I have a Ubuntu server with a Mysql daatabase. I would like to set up an automatic backup of this database during the night on another server (ovh for example). I don't know what would be the best ...
user1260928's user avatar
18 votes
4 answers
31k 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, ...
Slavo's user avatar
  • 407
18 votes
5 answers
18k 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 ...
Cesar's user avatar
  • 1,387
18 votes
2 answers
13k views

Where does deja-dup log its errors?

I configured Deja-dup to make a daily backup of my whole data drive. Now I get an error message each time, telling me, that not all files could be backuped. But i cannot find any Deja-dup logs in /var/...
Raffael's user avatar
  • 281
18 votes
1 answer
15k views

How do I create a bootable iso file from my current Ubuntu 20.04 machine?

I am running Ubuntu 20.04 and I have my entire dev environment set up on this. I need to make some hardware upgrades and need to reinstall Ubuntu. However I would like to take backup of my entire ...
Tuhin Subhra Mandal's user avatar
17 votes
5 answers
24k views

rsync not working between NTFS/FAT and EXT

I have music that I play in my car, from an FAT32 USB stick. The folder which I use to put songs on is stored on my EXT4 hard drive. I add/remove/retag songs regularly and occasionally want to rsync ...
wim's user avatar
  • 12.7k
17 votes
6 answers
177k views

How I do a system restore?

Problem I Faced I installed something that crashed my Wifi drivers that I compiled earlier. Un-installing the same package doesn't helped. Finally, I re-compiled my wifi drivers and things are good. ...
Yugal Jindle's user avatar
17 votes
4 answers
4k views

Backup Project Hamster Data

I'd like to move my project hamster time tracking data from one PC to another. How would I go about that?
usertest's user avatar
  • 271
17 votes
2 answers
61k views

Forceably set permissions when running rsync

Currently I am backing up gigabytes and gigabytes of data from a live server to a backup server using an rsync/ssh combination script, allowing for automated operation every night with a cron job. ...
bafromca's user avatar
  • 571
17 votes
1 answer
12k views

How do I back up and restore Passwords and Keys?

I am installing Ubuntu on a new machine. How can I back up all the entries in Passwords and Keys (aka Seahorse aka GNOME Keyring), so I can transfer them to the new machine?
lofidevops's user avatar
17 votes
2 answers
37k views

How to do a FULL system backup [duplicate]

I have been looking around but I cannot seem to find anything that will do a full system backup. Programs like deja dup let you pick which folders to backup but I want the entire Ubuntu OS and ...
spot9901's user avatar
  • 243
17 votes
3 answers
17k views

Can I restore a backup on a different computer than it was made?

I am using the default backup software for Ubuntu 14.04(deja dup). It backs up weekly to a network location. I'm about to put a new hard drive in my laptop, and I would rather just install ubuntu and ...
ajb746's user avatar
  • 183
16 votes
3 answers
5k 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?
Brian Dant's user avatar
16 votes
3 answers
20k 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 ...
Chetan Sharma's user avatar
15 votes
5 answers
20k views

Check the correctness of copied files

After I copy say 50+ GB(30,000 files including different formats) of files from an internal hard drive to an external drive is there any way to find out if everything has been copied correctly? Also ...
Chethan S.'s user avatar
  • 2,864
15 votes
3 answers
7k 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 ...
Aufwind's user avatar
  • 1,823
15 votes
2 answers
16k 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 ~/.local/share/...
user avatar
15 votes
2 answers
2k views

Is it possible to set Ubuntu a way that it does not shutdown before a script is finished?

I use a script to do incremental backups of a btrfs partition from one disk to another. The script is started by cron.weekly at random time of a day. If I shut down the system while the script is ...
Pilot6's user avatar
  • 90.1k
15 votes
2 answers
21k views

How can I make a backup of an EFI System partition?

Before I start making changes to the ESP I want to make a backup of it. Can I just copy the files and directories within it, let's say with my file manager, or cp, or do I have to use some tool like ...
hockeykong's user avatar
15 votes
3 answers
31k views

How do I start and stop a systemctl service inside a bash script?

I am writing a bash script to perform a daily backup. This script will ultimately run automatically every morning (cron or systemd). What I would like to accomplish is Stop myservice Perform backup ...
noslenkwah's user avatar
15 votes
3 answers
3k 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 ...
John's user avatar
  • 151
14 votes
1 answer
8k views

How do I backup all Gnome Tweaks configuration? [duplicate]

I am about to upgrate from 17.10 to 18.04 but I'm afraid to lose all my Gnome desktop preferences in the process (always been using Unity until 17.10). I made many changes through "Gnome Tweak tool" ...
R Pennese's user avatar
  • 1,145
14 votes
3 answers
8k views

Why can Déjà Dup not complete the backup of .cache/dconf and .gvfs?

I'm 24hrs into using Déjà Dup. All seems well apart from this error message: Backup Finished Could not back up the following files. Please make sure you are able to open them. /home/...
user avatar
13 votes
6 answers
19k 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 ...
Bruno Pereira's user avatar
13 votes
3 answers
8k views

Duplicity - storage location not available, waiting for Google

I recently upgraded Ubuntu from 17.10 to 18.04 LTS and used my usb key as a backup for my files. Now that I am on Ubuntu 18.04, I have a problem with duplicity. In fact, when I run the restore process,...
Harpartap S C's user avatar
13 votes
4 answers
43k views

How to backup and restore Firefox bookmarks from command line?

Is there an easy way to backup Firefox bookmarks to a file with command line. Running a find command, I managed to find this file: /.mozilla/firefox/9a5j5dbb.default/bookmarkbackups/bookmarks-2013-05-...
Programster's user avatar
  • 5,881
13 votes
2 answers
34k views

How to exclude files in rsync?

I'm using ubuntu server 12.04, now I want to backup some files using rsync, here is a try: rsync -aAX $HOME/Documents/* $HOME/Backups/TEST --exclude={$HOME/Documents/another/*,$HOME/Documents/temp/*} ...
Searene's user avatar
  • 4,360
13 votes
4 answers
1k views

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

Not sure what Linux software I would use for this. I'm looking for something like Acronis True Image for Windows, but for Linux. The rule is that we are keeping Windows out of the equation, I want to ...
MetaGuru's user avatar
  • 1,238
13 votes
4 answers
5k views

How can I substitute colons when I rsync on a USB key?

I would like to backup my mail directory on a USB key. However, my IMAP has a strange naming convention that something include a colon (:) character. Since the USB is in a window format, rsync fail ...
Guillaume Coté's user avatar
13 votes
3 answers
2k 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 ...
Sajan Parikh's user avatar
  • 1,055
12 votes
1 answer
4k views

How can I set Déjà Dup to keep backups for less than six months?

Déjà Dup allows me to choose whether to keep backups for six months, a year, or forever. How do I choose to keep backups for less than six months, say, three months, or even more?
Flimm's user avatar
  • 41.8k
12 votes
8 answers
19k views

GUI program to create partition backup image no larger than its files?

I like 'Disks' (gnome-disk-utility) and its ability to create backups of system partitions. But at some point I read on the internet about a program that would create such images that are not as ...
user avatar
12 votes
2 answers
41k views

How do I install the Mega Sync Client

How do I install the Dropbox alternative: Mega Sync Client?
blade19899's user avatar
  • 26.7k
12 votes
2 answers
11k views

Why do I get an "Operation not permitted" error when running duplicity as sudo?

Currently I'm backing up my /home/ folder to a usb mounted on /media/liamzebedee/X using duplicity. When I go to restore the folder to the USB however (using sudo), I get the error - Error '[Errno ...
liamzebedee's user avatar
12 votes
5 answers
679 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 ...
hunter's user avatar
  • 267
12 votes
5 answers
13k views

Is there any way to make a live CD from my current installation?

Remastersys is no longer maintained and UCK as well as Live-Magic aren't exactly what I'm looking for as they remaster a livecd. What I'm aiming for is something like PCLOS's makelivecd so I can have ...
Shogun's user avatar
  • 233
11 votes
2 answers
44k views

How can I export MySQL database manually - without phpmyadmin

My phpmyadmin doesn't work. I see only white blank page when I open it (it has some issue), However, I'd like to export my project database manually to another computer. I saw all my databases ...
Achu's user avatar
  • 21.2k
11 votes
5 answers
5k 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 ...
Gerard Abello's user avatar
11 votes
1 answer
11k views

How to exclude a folder by name recursively when making a tar archive?

I know it is possible to exclude a particular folder by a command like this: tar --exclude='/srv/www/project/node_modules' -zcvf /backup/project.tgz . My question how to exclude any folder named ...
W.M.'s user avatar
  • 213

1
2
3 4 5
52