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
0answers
12 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
83 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
622 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
30 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
21 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
38 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
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
0answers
22 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
37 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
46 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
35 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 ...
0
votes
1answer
929 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
1answer
965 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
9 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
35 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
26 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
66 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
23 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 ...
1
vote
0answers
60 views

How do I make a backup image of ChromeOS on an AcerC720?

I have tried using ImageBurner and the Recovery app in ChromeOS yet distro doesn't complete the operation and the image is never finished. I've tried USB drives by Transcend, HP and Jetflash and it ...
4
votes
2answers
553 views

ideal btrfs storage scheme to incorporate external USB HDD as backup media

Is there a way to leverage btrfs's advanced features (COW, snapshots, etc.) to continuously backup/mirror my main storage volume to an external USB HDD?
2
votes
1answer
34 views

Duplicity backup via sftp finishes without errors but no files transferred to remote host, why?

I want to use the following command to do a remote backup of /home: duplicity full /home sftp://user@hostname.com/home/user/backup When the command is run I get the following output: Local and ...
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 ...
0
votes
0answers
100 views

Rsync freezes while copying

I'm having trouble using rsync to back-up my system locally. I'm using this short guide from the arch wiki. Here's the modified one-liner I'm using : rsync -aAX --debug=all5 --delete --modify-window=...
2
votes
1answer
37 views

Recursive move (`mv -rn`, like `cp -rn`), a move that will only move not present files

Context I have user uploaded content that needs to be backed up. The content is over 3 separate servers at /var/www/domain/media/ (on each server it is in the same place). The backup is a NFS ...
1
vote
0answers
15 views

How to copy or restore OS via apt package-list? [duplicate]

I want to find a way to backup my system in the manner of storing a list installed packages. I want to be able to reproduce my setup for the case of a reinstall or automatically provision a VM with ...
3
votes
0answers
24 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 ...
3
votes
1answer
42 views

Create a bootable clone in Linux

I have a working Linux system (Centos 6.7) which I would like to clone to a bootable hard disk. The hard disk is also internal. The purpose of the clone is for disaster recover as well as to allow me ...
1
vote
2answers
45 views

Behavior of rm - how to prevent deletion of mounted points contents

There is a way to prevent rm from deleting mount points? For example, if I have /mnt/backup mounted externally and someone runs rm -rf / I know it will delete the backup contents. My solution is to ...
1
vote
0answers
24 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 ...
1
vote
1answer
74 views

How to backup files with only a minimal rescue system?

I only have access to my vserver via a minimal rescue system over ssh. It does not have scp or ftp installed. Is there an easy way to backup the files, preferably directly to an ftp server, but to ...
6
votes
1answer
4k views

Clear unused space with zeros (btrfs)

How to clear unused space with zeros ? (I am asking for tool for btrfs filesystem) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like ...
8
votes
2answers
978 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
51 views

Resumable transfer for btrfs send

I am planing to backup data via sending btrfs snapshots to an online storage. The storage is mounted as a LUKS encrypted container file on a cifs share. Later transfers will be reasonably fast, but ...
1
vote
1answer
44 views

Restoring file system using tar causes login loop

Note: I am doing this to learn more about linux. I understand there are other tools that can be used with simple interfaces. Note: I am using Fedora 23. I have it installed physically on an SSD and ...
4
votes
4answers
60 views

Most efficient way to thin out a backup which uses hardlinks

I have a backup disk which contains hundreds of backups of the same machine from different dates. The backup was made with rsync and hardlinks, i.e. if a file doesn't change the backup script just ...
2
votes
2answers
30 views

Save a perfect configured desktop

I'm wondering how I can persist my perfect configured desktop system. I have - installed a fresh new debian - installed all my applications and tools I need (from vim to eclipse) - override my ...
0
votes
0answers
19 views

Clone Linux installation [duplicate]

I have 2 servers, one is brand new with noting on it and 2nd one has everything set up (postfix,dovecot,db,nginx etc..) and I'd like to copy entire image from server 1 to server 2. Is such thing ...
3
votes
0answers
62 views

Sync with Onedrive

I would like to sync (and backup) my /home directory with OneDrive. I found some great terminal clients, where you can even mount your directory, but nowhere did I found an option to this with some ...
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
54 views

lftp mirror local directory to remote ftp server without deleting remote files which are missing locally

I have the following command: lftp -e 'mirror -R /local/backups /' -u username,password ftp://FTP_SERVER this works fine, until I started cleaning the /local/backups folder. I'd like to upload new ...
0
votes
1answer
34 views

Full system backup with dd include symlinks

I'm really new in unix and Linux and just tried to learn something. My question is how can I make full system image/backup with dd include symlinks? Is dd good or I should use another approach? Can ...
4
votes
0answers
38 views

Programmatically breaking all files in directory along size boundaries?

Okay, so I have a directory that has lots of files in it. These files are highly-compressed archives of documents, and I want to store these to a set of DVDs. That is, I want to have each archive on a ...
0
votes
0answers
21 views

Windows backup, bootable recovery media, and bootable ubuntu media on same flash drive

I'm going to install Ubuntu side-by-side with windows 10 and I'm seeing lots of advice to back up windows onto a system image. Moreover, it looks like to be able to restore that image if something ...
1
vote
0answers
27 views

Back up script causing issues

I've got this backup script I'm trying to use and I'm having issues with it. #Setup Variables DOMAIN=domainexample.com FILENAME=${DOMAIN}.$(date +%Y%m%d) DBSERVER=localhost DATABASE=databasename USER=...
2
votes
2answers
8k views

Create .tar.gz from a directory omitting some subdirectories and add only new or changed files

I need to create a script, maybe bash, maybe just a .sh that checks for files changes on a root directory and sub-directories of the root, and adds to a new file. The tar.gz file name should have the ...
1
vote
0answers
18 views

systemd: gracefully fail backup when external disk not plugged in

I have a backup setup where I use systemd timers to do hourly, daily, weekly, and monthly backups. Each timer unit triggers a service that runs the backup script. The backup service units are of the ...
0
votes
1answer
9 views

Can I start the VM in openVZ once the checkpoint is completed during vzdump?

I have a VM with huge amount of data, close to 800GB. I was taking a vzdump of this VM. During the vzdump, openvz suspends the vm and does a check point and does a final sync of data before completing ...