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
5 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 ...
1
vote
1answer
13 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
185 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 ...
3
votes
3answers
41 views

How can I make atomic 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
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 /...
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 "...
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 ...
-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 ...
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
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
-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 ...
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
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
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 ...
2
votes
1answer
39 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 ...
0
votes
0answers
119 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=...
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
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 ...
3
votes
1answer
55 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 ...
3
votes
1answer
41 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
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/" "...
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 ...
1
vote
2answers
55 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
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
1answer
67 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 ...
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 ...
1
vote
1answer
53 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 ...
3
votes
0answers
87 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
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 ...
4
votes
4answers
63 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 ...
0
votes
1answer
35 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 ...