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)

1
vote
0answers
19 views

Backup location in LVM

By default, the metadata backup is stored in the /etc/lvm/backup file and the metadata archives are stored in the /etc/lvm/archives file. What should I do If I want to change directory for backup? For ...
0
votes
1answer
71 views

Trying to understand lvm snapshot

I saw the mention of 'c-o-w' in a lvm tuto and that made me confused because it kept me thinking the snapshot vol behaves like overlayfs or other cow fs where changes are written to it after you ...
3
votes
1answer
50 views

FreeBSD restore(8) confusion

I have successfully backed up the /, /usr and the var slices from an old machine. I have tar files on my windows machine. I need to restore the original slices to a new machine (Virtual Machine). ...
3
votes
1answer
40 views

cp command which partially resolves symlinks

Is there an easy way to copy a directory recursively where symlinks to external files/directories are resolved (target file is copied), but internal symlinks (pointing to files inside the copied tree) ...
3
votes
4answers
165 views

Archive the oldest file, where files are named according to their timestamp

Context I have backup scripts running which create tar.gz files and transfer them to a dropbox folder on my headless linux VM. Problem I do not know how to create a script which will detect the ...
1
vote
2answers
49 views

Using rsync to synchronize directories

I have a script that I am using to backup a directory on a CentOS 6 machine. It's very basic but it is executing rsync -a remote:~/original ./backup This works fine: it is copying the contents of ...
-2
votes
1answer
156 views

Linux “dump(8)” command

I intend to use dump(8) for backing up a Mint disk. Here is the documentation about it: http://linux.die.net/man/8/dump However—is it deprecated? (The documentation does not say it works with ...
1
vote
1answer
106 views

rsync with --link-dest options doesn't create hard links [closed]

I created a backup script that should create incremental backups every day and a full backup once a week from a remote host to my external backup hard drive. (short example at the bottom) The script ...
0
votes
2answers
1k views

How to backup and restore to different hardware in Linux? [duplicate]

I am running Fedora 22 on a Dell Laptop. I plan on migrating to a desktop soon which will also run Fedora 22. What is the best way to go about backing up and restoring my laptop configuration to the ...
1
vote
2answers
47 views

Is it necessary to transfer `tar` files through `rsync` in archive mode?

I have a bunch of tar files in my machine which I want to transfer to an external hard drive (EHD); they where created preserving permissions (using the -p flag). I plan to use rsync to copy them to ...
3
votes
2answers
46 views

How to backup the data of my Linux system if I want to retrieve it in other operating systems?

I am a basic Linux user and would like to backup my data (my home directory to be precise) in an external hard drive (EHD), but would like to be able to retrieve this data in other operating systems ...
1
vote
1answer
58 views

Cannot close the file /etc/mtab when restoring /etc with rar

Prior to reinstalling VPS and upgrading from Debian 6 to Debian 8, I have archived /etc/ folder. Now, I am trying to extract and overwrite everything, but somewhere in the process I get this message ...
2
votes
0answers
94 views

Backup using find and ssh to off-site server

I'm sure this has been been answered in bits and pieces on many sites, but somehow I can't seem to get this (as a whole) to work reliably. Scenario: I have a server that I would like to do ...
-1
votes
1answer
73 views

Linux backup a folder by each

I have a folder /home/software, with some sub folders /home/software/game /home/software/photo /home/software/ebook ... I want to create tar backup including the date for each sub-folder so I will ...
0
votes
1answer
59 views

How to keep all log files?

I just lost important log file. Time Machine etc is not in use in that Mac. I would like to setup in my Mac (El Capitan) some unix thingie, which keeps all log files. Logs rotate, right? So if i ...
3
votes
2answers
74 views

Remove all but the latest backup file monthwise

I've got a directory, containing lots of weekly generated files with names like db_20130101_foo.tgz db_20130108_foo.tgz db_20130115_foo.tgz ... and so on. Over the years, the disks will get ...
0
votes
1answer
210 views

Auto Mount and Backup on any usb sticks connected

Hello Unix and Linux Lovers! I have spent now about 2 days looking for a solution of my problem but couldn't find a fitting one; I like to back up files to any usb stick which is connected on a ...
0
votes
0answers
54 views

What is the “-rescue” function of Clonezilla and when should I use it?

When running Clonezilla on a NTFS-drive with bad sectors the cloning is interrupted and I get a suggestion from Clonezilla to use the -rescue option to save as much as possible from the damaged drive. ...
7
votes
5answers
2k views

force copying a corrupted home directory

I have a home directory in a disk that has a lot of corrupted files. I am trying to save most files as possible. I am trying to create a backup of my home directory on an external drive using tar ...
2
votes
0answers
33 views

How can I access timemachine back ups from Linux Mint?

I can connect to my AirPort WiFi via my Linux machine but am trying to access time capsule backups I made when I had a MacBook Air. I have researched and found info on airport-utils, but have had no ...
2
votes
2answers
2k views

How do I transfer installed packages and settings from one distro to another?

I've been exploring learning and about the Linux system via VirtualBox for a few month's and decided that I want to make it my main OS and install it on my hard-drive. I have a number of files, ...
0
votes
1answer
171 views

How to restore a whole OS from TSM image backup?

With a: dsmc b image FSNAMEHERE I can back up all the filesystem in a machine. But how can I restore it? Boot off a liveCD, install TSM client somehow, then restore image backup to local disk? OS ...
2
votes
1answer
194 views

How to backup readable but not writable files using rsync?

I am using rsync to backup some folders in my home directory to a remote server using the following commands: cd rsync -Favz --inplace --delete --delete-excluded folder1 folder2 folder3 ...
93
votes
19answers
16k views

What is the fastest way to send massive amounts of data between two computers?

This is a situation I am frequently in: I have a source server with a 320GB hard-drive inside of it, and 16GB of ram (exact specs available here, but as this is an issue I run into frequently on ...
3
votes
3answers
85 views

Rebuild original file from diff files to save disk space

Every day 10GB text file is downloaded, the file is ~200 million lines and ~1% of the lines are changed the next day. I want to keep daily files as backup, but I'm trying to save disk space by using ...
0
votes
0answers
27 views

Replicate CentOS server to AWS

Have a CentOS 6 LAMP web server currently running on on-premise hardware. I'd like to replicate or image this server to a VM in AWS for backup purposes. Is this possible? If so, what tools would you ...
40
votes
5answers
33k views

Is it possible to mount a gzip compressed dd image on the fly?

I like create an image backup for the first time I'm backing up a system. After this first time I use rsync to do incremental backups. My usual image backup is as follows: Mount and zero out the ...
1
vote
1answer
154 views

Where does cups store its configuration?

I want to do a backup of my cups configuration to transfer it to a new system. But where does cups actually store the printer settings? I've watched /etc/cups/ but the only thing that happened when ...
0
votes
3answers
41 views

Backing up files [duplicate]

I would like to backup all files older than 90 days and greater plus gzip them. I could execute: find /path/to/files -type f -mtime 90 -exec gzip "{}" \; Problem with this command is it includes ...
1
vote
1answer
41 views

Backup workspace without local copies of remote git repositories

I would like to backup my workspace without backing up all the content of git repositories that are online available anyway. So I think of something like, that I could backup only the file ...
1
vote
1answer
46 views

DD to a bigger partition

So I made a backup of /dev/sda1 (NTFS) using: sudo dd if=/dev/sda1 conv=sync,noerror bs=64K | gzip -c >/media/My\ Book/backup/Root20131215 In the meantime I increased the size of /dev/sda1 to ...
0
votes
1answer
142 views

How to backup all the files that I'm copying before being overwritten?

I have a folder like this: ./folder-a/index.html ./folder-b/index.html ./folder-c/subdir/index.html ./new-content/folder-a/index.html ./new-content/folder-b/index.html ...
1
vote
1answer
35 views

Backing up a full Linux installation

Is it possible to backup a full Linux System on a USB-Stick and reinstall it on the same device again? I have already looked into Software like Clonezilla, but all of those solutions don't seem to ...
9
votes
3answers
2k views

Run Script once a day with systemd

I want to run a backup script 10 minutes after booting up my machine but only once a day. Is it possible to build up such scenarios with systemd?
3
votes
2answers
2k views

Can I restore a single partition from a Clonezilla disk image?

I was thinking of performing a Clonezilla backup and was wondering what backup mode to choose. Generally speaking, Clonezilla offers the following backup options: savedisk: Save a full disk image ...
3
votes
3answers
677 views

ecryptfs mounted via command line, what do I need to backup?

I asked this question on the ecryptfs launchpad, but it expired there without answer. https://answers.launchpad.net/ubuntu/+source/ecryptfs-utils/+question/235226 It might be trivial, but I really ...
-1
votes
2answers
141 views

best way to upload files(100gb+) from freebsd server

I need to upload lots of files(100gb+) from server, currently i get ssh connection, and i'm not restricted in software i can use and run anything. Please recommend me the way to upload files to my ...
2
votes
1answer
255 views

Time Machine with GUI for Linux Mint for newbie

I try to find Time Machine for Linux Mint which has GUI and is easy to use for Linux newbie. Similar features which Macintosh Time Machine has. Backups entire boot drive hourly.
0
votes
0answers
29 views

Backup full drive structure, skipping one partition content

I need to backup laptop drive. But in fact what matters is not data as in my data files kept on laptop but all systems, settings, lvm and in general whole disk structure - partitioning, UUIDs, LUKS ...
4
votes
4answers
5k views

Stop cron sending mail for backup script?

I have set up a backup script to back up world data on my Minecraft server hourly using cron, but because the worlds being constantly edited by players, tar was telling me that files changed while ...
1
vote
0answers
176 views

Using tar to backup and restore a path mounted with overlayfs

I have a system running OpenWRT with Linux 2.6.39.2. In my filesystem, I have symlinks contained in /etc/rc.d on ROM and more symlinks contained in /overlay/etc/rc.d in flash. overlayfs does a union ...
0
votes
1answer
2k views

Rsync doesn't skip existing files

I use rsync to backup all the files from a specific folder in a USB drive connected to my Mac (Osx 10.9) to a folder of my home network NAS. The problem is that rsync replace all files and it does not ...
0
votes
0answers
93 views

linux + how to restore sdaXX.fsa files by the fsarchiver tool

I get the following files (that was backup from some Linux machine ) swap.label sda-partition-info.sfdisk sda.mbr sda1.fsa sda2.fsa sda3.fsa sda.labels sda7.fsa sda5.fsa in order to build ...
12
votes
4answers
5k 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 ...
0
votes
2answers
76 views

How to back up a MBR

Has anyone tried updating to Windows 10 on a dual boot machine? I'm concerned that Windows 10 might mess with the MBR. Is there a way to preserve the MBR and easily restore it if Windows in fact ...
2
votes
0answers
67 views

How are XFS deltas for xfsdump -l n calculated?

I have a xfs filesystem with many small and a couple very large files (~100GB), its on a lvm2 volume. I want to do incremental backups from it. Is there any computational overhead when using a tool ...
0
votes
0answers
319 views

Bash, find and delete old files

Write script for backup files and delete old: #!/bin/sh BACKUPDIR=/var/backups/files ROTATE=1 mkdir -p $BACKUPDIR CURRENT="$BACKUPDIR/`date +%Y-%m-%d`-files.tar.gz" cd /var/ && tar czf ...
0
votes
0answers
106 views

The Zentyal has no backup service?

I'm use an Zentyal Linux, but I didn't found any program for I make backup. Exists for it? Thanks
2
votes
1answer
28 views

What are portability of backup, remote backup and networked backup mean?

From the book Linux Administration Made Easy: When deciding on a backup solution, you will need to consider the following factors: Portability − Is backup portability (ie. the ability to ...
2
votes
1answer
344 views

rsync over SSH sometimes very slow--other times maxes out bandwidth

I have a bash script set up on computer A (Mac OS X) set to run every five minutes via a cronjob. This script checks for new files on remote computer B (Gentoo Linux) then rsyncs any new files to ...