Backing up is the process of making copies (a backup) of data which may be used to restore the original after a data loss event.

learn more… | top users | synonyms (1)

0
votes
1answer
8 views

Backup files as owner using a Live CD?

My partition in Linux Mint 18 is in need of repair, but first I will backup some files using a Live CD. I can't copy the two files that I want, Bookmarks and Bookmarks.bak, because I am not the owner ...
3
votes
4answers
60 views

How can I make atomic incremental backups of a running linux system using freeware?

I'm looking for an incremental backup tool to use on a running, disk based linux system, such as ubuntu or the like, and a tool which is freeware. Clonezilla can do accurate backups but only when ...
1
vote
1answer
14 views

Keep a live clone of a machine into another

I am trying to find the easiest and most elegant solution to keep two desktops running that are clones of each other. I have a machine running cobbler. Every once in a while a few delicate changes are ...
2
votes
3answers
187 views

How to check if files are different before copying and overwriting?

I use a little script that copy (using cp) a list of config files to another device. I wonder how to quickly check whether the files were modified since last time before doing it and exhausting the ...
1
vote
4answers
8k views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
1
vote
1answer
24 views

How do I get access permissions right for my backup?

I have a backup server in my LAN which mounts the home dir of user@laptop and creates a backup each hour using a python script. The problem that I'm having is that I get some hundred "permission ...
0
votes
1answer
960 views

Sending emails from AutoMySQLBackup from Linux Mint

I have set AutoMySQLBackup on a Linux Mint machine and I want to have the backups sent to an email, but I cannot make it work. I'm new to Linux environment and don't understand it very much. I ...
6
votes
0answers
937 views

How to use terminal to access iCloud Drive when Finder is not running

I would like to access iCloud drive from Terminal in order to create an emergency backup. Unfortunately, my installation of Mac OS Yosemite is not operational, so I am using recovery mode to create my ...
6
votes
3answers
3k views

How to create a read-only snapshot in btrfs?

As far as I understand, the snapshots made by btrfs subvolume snapshot are writable by default and are visible at a certain path under the mountpoint of your btrfs volume. How to setup the system so ...
1
vote
0answers
34 views

Proper way to create a compressed, rsyncable mirror of a directory?

I would like to create a compressed mirror of some directories in such a way that it can be rsynced again, both from the original destination and to a remote destination. I can do it inefficiently in ...
0
votes
1answer
29 views

Backup Script throwing errors

I have the following script: #!/bin/sh #Finds all folders and subsequent files that were modified yesterday and dumps them out to a text updatedb && rm /tmp/* echo $(locate -b `date --date=...
0
votes
0answers
18 views

Unable to execute backup commands in a Virtual Tape Library

I have created a virtual tape library with mhVTL based on the steps given in this link. When i try to list the tapes with lsscsi -g that are mounted it showed. [0:0:0:0] disk ATA ...
2
votes
1answer
29 views

How to decrypt a file from an encrypted tar archive without decrypting the entire archive

similar question: Encrypting and compressing I want to make a regular backup and store it as encrypted tar archive. That's achievable using tar and gpg. But for incremental backups this would require ...
2
votes
2answers
41 views

Can I use the 'cp' command with the -b option, but have it fail if the backup file already exists?

I'd like to use cp -b to copy a file to a destination, possibly creating a backup file of the destination path if it already exists. But, if the backup file already exists, I'd like to have cp fail ...
0
votes
1answer
60 views

After dd completion, should records In = records out

I am using the following cmd where sda(500GB) is my laptop hd (unmounted) and sdc(500GB) is my external usb hd dd if=/dev/sda of=/dev/sdc bs=4096 When complete this returns 122096647+0 records in ...
2
votes
1answer
1k views

linux tar listed-incremental untrustworthy

I'm looking for some way to troubleshoot incremental backups with tar on linux. I've got huge datasets (about 3TB) that need backing up to tape. For this I use the linux tar command and mt / mtx on ...
1
vote
1answer
44 views

How to search-replace-backup files recursively in linux?

I'd like to recursively search for a string within all files in a folder. If the string was found, backup the file to the same location (copy to <filename>-orig) and replace the found string ...
-1
votes
1answer
26 views

System Backup Over FTP Server

I am having a device running 3.0.9 GNU/Linux version which I am accessing over the ftp protocol. I want to create a system backup of that device provided it has only the basic utilities installed and ...
1
vote
2answers
43 views

Automatic backup and exclude of certain folders

I have created the follow bash script to be used in cron for automatically backing up certain folders while also excluding certain sub folders: folders_to_backup=( "/first/folder/to/backup/" "...
0
votes
1answer
43 views

How to Tar Much With Big .tar Parts on vfat? [duplicate]

I have now just one vfat USB stick in travelling but I still need to take backups. I get gzip: stdout: File too large because vfat's limiting files bigger than 4.3 Gb. My backup command sudo tar czf /...
3
votes
1answer
32 views

Can I use Clonezilla to backup and restore a bootable USB volume?

I have this external USB HDD that I've installed Lubuntu 16.04 and Windows 10 on as a dual boot. They are portable installations that I can take around with me and use on a variety of computers and ...
1
vote
2answers
20 views

Best way to browse different versions of a backup of a directory

I am using a rsync backup script (see here: http://codereview.stackexchange.com/questions/29429/push-backup-script) which creates directories like back-2015-07-02T21_18_01 Now suppose I am in ...
5
votes
1answer
173 views

Equivalent of subinacl.exe on linux / unix?

When modifying permissions on Windows I backup the ACLs to a file first using a commands like: subinacl /noverbose /output=C:\temp\foldername_redir_permissions_backup_star_star.txt /subdirectories "...
12
votes
5answers
6k views

How to run a command when a directory's contents are updated?

There is a directory A whose contents are changed frequently by other people. I have made a personal directory B where I keep all the files that have ever been in A. Currently I just occasionally ...
2
votes
3answers
47 views

Copy a lot of files recursively leads to a heat problem on my external hard drive

The Situation: I want to copy a directory recursively to an external hard drive. The directory contains a lot of files (at least 100,000). The Problem: External hard drives tend to get quite hot ...
0
votes
0answers
33 views

How to create a backup of your current state of Linux Operating System?

I want to create a backup of my Linux OS system with all the its present installed softwares and data. So that in case of hard disk failure or if I require to install the Linux OS on another system, I ...
0
votes
1answer
2k views

Got fatal error during xfer (Child exited prematurely)

I have a backup server which takes backup of other servers and in few days back the backup server started experiencing error and the not able to take back. I think the error log bellow could describe ...
1
vote
1answer
49 views

Duplicity + Amazon S3 Glacier. How Much “Unfreezing” to Resume Backup

It's been a couple of months since I last did a Duplicity backup [to Amazon S3] and, in the meantime thanks to an automatic 30-day rule I have on my Amazon buckets, my S3 backup has been moved from ...
0
votes
2answers
44 views

Backup the entire operating system

I have installed Ubuntu OS and installed all the softwares and tools from my college Internet connection. Now, I am going back to my home where it might not always be easy to reinstall all the ...
9
votes
2answers
1k views

Cleanup of temporary file ~/.cache/duplicity/temp failed

Often when I run Duplicity I see an error message like this at the end of the run: Cleanup of temporary file /home/user/.cache/duplicity/9a169830d41477b2dbc3c5b32edd4e8a/duplicity-MEXhMY-tempdir/...
0
votes
1answer
46 views

Can rsync be used to make only hard links, not copies? [duplicate]

I'm working on a system to automatically back up my computer using rsync and the Google Drive app (I have a Macintosh computer). (This app creates a directory whose contents are saved to the Google ...
0
votes
0answers
20 views

How can i make incremental backup?

I have a linux based HOST system with KVM. And a GUEST system using Windows Server 2012R2 on a lvm partition. How i can make an incremental backup of this lvm set? Or better yet, how can I make a ...
1
vote
3answers
93 views

How to Distribute Computing of `tar czf` for Longer Time?

My systems go under heavy load when I run sudo tar czf /media/masi/ntfsDisc/backup_home.tar.gz $HOME/ Fans goes to max etc. I would like to find a better balance between computing and power ...
1
vote
2answers
663 views

How can i keep the mtime of files and directories when I use rsync or cp? For use in Backup/Incremental Backup

I have a new NAS box and after looking through numerous backup solutions I've found doing it manually through PuTTy to work the best. After logging in to the box through PuTTy as root, I first need ...
1
vote
1answer
33 views

copy_only_missing? - Copy from /A to /C only paths missing on /B and /C - concise way

I'd like to copy from /A to /C only paths missing on /B and /C. (Please assume those are paths, and can represent also remote locations e.g. mounted via sshfs) I wonder... Is there more concise way ...
0
votes
0answers
22 views

Functions for general backups creating on OS X

I'm trying to create 2 aliases for fast and easy backup of files or folders on OS X. I currently have this: backup () { if [[ $# -ne 1 && $# -ne 2 ]]; then echo "Invalid ...
0
votes
2answers
45 views

BackupPC restore using command line tools

Can anyone suggest a proper command line tools and syntax that should be used to restore files created by BackupPC software?
1
vote
0answers
27 views

Why won't Bacula work without the label command?

I followed the instructions here for setting up Bacula, but when I test it by going into bconsole and running a backup, it doesn't work. There is one step missing from those instructions. You have to ...
1
vote
1answer
38 views

Tool for migration of service configuration

Is there a tool that handles generic migration of config? For example if I have httpd, postfix, MySQL and users and groups data, is there a tool that can extract the config data for each service so ...
1
vote
1answer
49 views

How to compress all files in folder and erase the untared versions via command line?

I have a backup disk containing uncompressed versions of my files that I would like to compress to save space on this disk. The disk (containing files to compress) is full (about 3TB with 17GB free). ...
0
votes
1answer
37 views

Can backups of root mounted to a logical volume be restored to a larger logical volume?

My current Ubuntu setup has root mounted to a LVM2 logical volume 'lvroot'. lvroot is 10G. I've been taking snapshots of lvroot, and then making dd backups of the snapshots (which creates a backup of ...
6
votes
1answer
1k views

Rsnapshot destination full - how to safely rerun?

I ran my Rsnapshot backup today but my external drive became full half-way through the incremental backup (I have about 20 incremental backups now). rsync: write failed on "<path>": No space ...
-1
votes
1answer
11 views

Why does bacula restore fail?

I have bacula setup locally on my computer. I made a backup, then I deleted one of the files that was backed up. I opened up bconsole and ran the restore command to restore the file. The restore ...
7
votes
2answers
7k views

Can I automate tar's multi-volume-feature?

Ok, so I've just had a read through this page after a way to improve my current backup solution on my Debian server. Tar seems to be offering a quite nice multi-volume feature, although when I try it ...
1
vote
1answer
36 views

Finding edited system files

I am installing a new OS (old = Ubuntu 12.04; new = Ubuntu 16.06). I want to be able to back-up any system files I have edited on the old system but don't know all the ones I have updated. How would I ...
0
votes
1answer
37 views

dd no such file or directory

I've booted up arch live cd, with the idea of creating a disk image. There are 2 hdds (/dev/sda - i want this image, and /dev/sdb - the image will be copied here, but as a backup file (not rewrite), ...
1
vote
1answer
70 views

Image backup with deleted files [duplicate]

I have accidentally deleted some files. With rm. It seems recovery is not so easy on Linux. Is it some way I can do a image backup including the lost files (If they still exist)? I should know the ...
0
votes
0answers
32 views

Deja-dup: incremental backup seems to save files unnecessarily

After updating Debian to 8.4 Jessie I'm trying to finally install some form of painless update hygiene and am experimenting with deja dup for now. Only I have the following problem. Most of my data ...
12
votes
6answers
9k views

What directories do I need to back up?

What are the directories one should back up, in order to have a backup of all user-generated files? From a vanilla debian install, I can do enough apt to get the packages that I want. So if I don't ...
1
vote
0answers
34 views

After restoring a backup my permissions seem to be borked

I made a complete backup of the system with "rsync -aAXv", and set up my encryption. After restoring everything, and booting up and trying to login, openbox didn't want to start, and "startx" didn't ...