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)

3
votes
2answers
219 views

What is the expected performance of obnam? Or: why is it so slow?

I've been playing around with obnam these last few days, and although it looks very promising and seems to offer basically everything I ever wanted in a backup tool, I am pretty disappointed in its ...
1
vote
1answer
39 views

Which config files in /etc folder must be unique for each computer?

I am doing a restoration test of backup files on a computer. Without putting much thought into it, I did an rsync to replace all files in /etc folder with the ones in the backup. Then, I realize I ...
3
votes
2answers
77 views

How to clone an apt repository to keep all old packages?

This may sound trivial, but I haven't found a solution anywhere yet. Is there a way to backup or clone an apt repository such that I get a clone that (1) contains all current packages and (2) keeps ...
2
votes
2answers
24 views

How should I restore /var/cache?

I just restored my Raspberry Pi server from an rsync image. During the backup, I had excluded /var/cache/*, thinking that this would restore an empty directory. This worked, but when I rebooted, a ...
1
vote
1answer
45 views

How reliable is (or will be) btrfs send/receive?

We have at work a 15TB NFS file server using XFS, with a distant clone for backups using rsync, over a moderately slow connection (100Mb ethernet). We are now thinking about using btrfs instead of ...
1
vote
0answers
20 views

Rsync - Corrupted MAC on input

Background I have a script on my NAS which is a Synology DS212J which is running on a special distro where uname -a gives me Linux DS212J 2.6.32.12 #4493 Wed Jul 16 11:37:16 CST 2014 armv5tel ...
0
votes
1answer
36 views

gtar fails to perform incremental backup

The following script fails to perform incremental backup, but creates full backup instead. On another FreeBSD server exactly same script works just fine (creating incremental backups). Servers are ...
1
vote
1answer
88 views

Back up particular package and its dependencies

My question is: can we take a backup of a particular package and its dependencies? For example, if we install VLC it requires dependencies like kde filesystem,libcaca.so.0 etc.. can we take a backup ...
1
vote
1answer
345 views

Can I get the backup option of cp and mv to work with directories?

--backup[=CONTROL] make a backup of each existing destination file The man page does say that it works on file. It doesn't seem to have any effect on directories. Is there anyway to make this ...
0
votes
2answers
616 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 ...
0
votes
1answer
1k 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 ...
0
votes
2answers
467 views

Use logrotate to store 7 daily, 4 weekly and 12 yearly db backups

I've been trying to use logrotate to store a database backup for: last 7 days (daily) last 4 weeks (weekly) last 12 months (monthly) I've done a logrotate script like this, but only the daily ...
0
votes
2answers
211 views

Backup of svn repository and mysql database on daily basis

How do I instruct Ubuntu 13.10 server to: zip svn repository dump mysql database into .sql script tar both files copy backup tar onto sdb disk Are there any premade tools for such kind of ...
0
votes
0answers
15 views

Proper file system for an External Hard Drive to work well on Linux [duplicate]

I have a External Hard Drive (EHD) I want to use to backup the data on my Linux laptop. I want to know how I should format my EHD for it to work correctly with Linux. Thanks.
3
votes
0answers
30 views

Is this a correct way to back up one big drive to two smaller ones?

I have a pre-fail drive, and while I'm waiting for replacement I am trying to do full back up to two smaller drives. Given that drive is 3TG and ones I have are 1.5 and 2TB, is this a correct way to ...
0
votes
1answer
16 views

wget rotated backup problem

I'm calling wget 1.11.4 as follows $ wget -nd -S -N --backups=4 -r --no-parent --reject="index.html*" -e robots=off <url> to repeatedly download all files from a server. My problem is, ...
5
votes
0answers
247 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 ...
3
votes
2answers
897 views

Rsyncing files with special characters to USB FAT32

I want to copy a large number of files to a USB drive that is formatted FAT32 (and cannot be formatted anything else, unfortunately). Many of these files have names with characters such as : and ? ...
1
vote
1answer
2k 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 ...
6
votes
1answer
108 views

How can I put some comment in yum installation list?

Lets say I made a List of installed packages by: rpm -qa > list I want to use this list to re-install those Packages on another System, For Example By: yum -y install $(cat list) But I need ...
7
votes
5answers
9k views

System image of running Debian system?

Is it possible to backup a running Debian system to some kind of image file, that could simply be written back to another hard disk using dd in case of failures of the original (backed up) Debian ...
0
votes
0answers
43 views

how can I backup and restore of partitions and logical volumes?

This is my disk scheme sda1 /boot ext4 sda2 /somefiles ext4 sda3: lvm volgroup1/lvolume1 / ...
5
votes
1answer
133 views

Command-line incremental backup tools

Which command line backup tool(s) has the best compression ratio? I want to backup my entire system, including media files, text files etc. I found this list on the Arch wiki site but I don't know ...
0
votes
1answer
23 views

Can I create a bootable distribution backup

I'm interested in trying out a couple of distributions, but for extended periods of time (so using a LiveCD is not really an option). However, I would like to create a backup of my current ...
0
votes
2answers
86 views

How to checkpoint using CRIU on ubuntu 14?

I tried to install CRIU in ubuntu 14.04 Desktop. When I used $ sudo ./criu check , it showed Error (cr-check.c:268): fdinfo doesn't contain the mnt_id field And when I tried to checkpoint ...
18
votes
5answers
14k 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 ...
10
votes
5answers
623 views

Is it safe to take the drive image of the current working drive?

I have to backup my hard disk. I want to use dd and put the image on an external hdd. Can I do this using dd from the OS that resides on the hdd itself or do I have to boot from another device, for ...
2
votes
2answers
126 views

How Can I Back Up Win7 Before Installing Mint Alongside It

Don't get me wrong, I understand how to install Mint alongside Win7. However, I am wondering how to backup my Windows installation due to the fact that Win7 was preinstalled on my computer and, as ...
4
votes
4answers
3k views

How to clone/copy all file/directory attributes onto different file/directory?

I want to copy the attributes (ownership, group, ACL, extended attributes, etc.) of one directory to another but not the directory contents itself. This does not work: cp -v --attributes-only A B ...
0
votes
1answer
39 views

Backup of data from Linux PC [duplicate]

I have Linux PC, for which monitor is not working. But I am able to log in through SSH. I want to take a backup of all the directories from this PC. Instead of changing directories one by one and ...
1
vote
1answer
352 views

Backup from remote server

I'm a novice so go easy. :) If it makes a difference I'm using Ubuntu/Debian machines. I want to back up our dedicated web server to a local location in-house. This is for many reasons - I know that ...
2
votes
1answer
16 views

Backup and restore only some partitions

I have a system which runs an arcade machine. It has the regular swap and root partitions, but then I have an extra partition which I call data. Data holds many gigabytes of game content. The idea is ...
2
votes
1answer
59 views

How to restore a system?

I have a disk image from Acronis True Image 2011. My original disk, of 40 GBs, had 2 partitions, 1 for FS and 1 for swap, but it started to fail. I've tried to make a backup, which finished with ...
5
votes
3answers
154 views

Entries I can safely exclude doing backups

I'm planning a backup strategy based on rsnapshot. I want to do a full system backup excluding files and directories that would be useless for the restore to have a working system again. I already ...
1
vote
1answer
66 views

backup process taking prolonged time due to rsync no space left on device error

I am trying to understand why the backup process in one of the servers is taking so long and not copying the data correctly. This is the size of the external HDD partition. df -h /dev/sdb1 ...
1
vote
0answers
26 views

Secure Remote Backups Using Duplicity

The recent take-down of codespaces got me thinking about off-site backup processes (which I currently perform manually with password entry). I have been reading tutorials showing how to automate ...
1
vote
1answer
42 views

how to copy or backup files ignoring dot files

I want to back-up all files from my laptop partitions to external HDD. I ran, for example cp -a /med*/ravb*/*00 /med*/ravb*/M*L*/7.3GB_CP && echo "7.3GB BACKED UP PROPERLY" || echo "7.3GB ...
1
vote
1answer
72 views

unable to back-up data from android tablet to laptop using tar!

I'm using tar to back-up data from my android tablet to laptop. But it is showing some error. ravbholua@ravbholua-Aspire-5315:/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/9$ tar -cvf ...
1
vote
1answer
35 views

Backup LUKS (cryptsetup Command) partition or volume

Can you create a file container/volume in LUKS in the same way that you could do with Truecrypt? Otherwise, how can you backup a LUKS partition? Do you have to clone it, for example with dd? or backup ...
10
votes
4answers
6k views

rsync all files of remote machine over SSH without root user?

I have this command to backup a remote machine. The problem is that I need root rights to read and copy all files. I have no root user enabled for security reasons and use sudo the Ubuntu way. Would I ...
1
vote
1answer
52 views

GNU/Linux: automatic cloning of a system with partitions encrypted with LUKS+dm-crypt

I would like to have an up-to-date clone of a (Debian) GNU/Linux system on an external HDD and therefore be able to replace the internal HDD with the external HDD at any time and being up and running ...
5
votes
3answers
2k views

How store in a variable a file list that includes the backslash when needed?

Main question: I am writing a script to perform a backup. I make a list of files in the following way: LISTOFFILES=$(find ~ \( -name '*.[pP][dD][fF]' -o -name '*.[oO][dD][tT]' \)) The variable ...
3
votes
1answer
457 views

Manually copying MBR from one drive to the other GPT drive and configuring GRUB results in booting failure

I run CentOS 6.4. I have SSD 300GB for system files and RAID10 8TB for storage + backup. SSD system drive is partitioned as follows: fdisk -l /dev/sdb Disk /dev/sdb: 300.1 GB, 300069052416 bytes 255 ...
4
votes
3answers
11k views

How to copy between two remote hosts using tar piped into SSH from remote server when behind a firewall?

I'd like to transfer a directory between two servers, but compress the directory on the remote host before transfer, and then uncompress to another host. I'm sure it's possible to pipe everything all ...
1
vote
1answer
72 views

Reinstalling Ubuntu: Shall I back-up dot files from my home directory?

I'm removing my Ubuntu 13.04 as I'm reinstalling latest version. So, I have taken back up of my home partition using tar. The back-up includes hidden files (dot files) like below: $ tar -tvf ...
2
votes
0answers
37 views

How can I capture a consistent snapshot of a directory and all its children?

We have an application that periodically backs itself up to a directory on the local file system. Inside this directory are several more files and directories. I want to produce a "snapshot" of all ...
2
votes
1answer
124 views

Incremental file back up by date

Is there any backup tool that supports partial back up by date? What I mean is that I have some small drives such as on a laptop that can't hold a full copy of all the files on an external 2TB drive. ...
1
vote
0answers
13 views

backupninja: password outside config file

I would like to use a dup rule in backupninja to make an encrypted remote backup. The configuration file format includes entries for the encryption and ftp password. I would like to move them out of ...
5
votes
2answers
61 views

How to backup dir structure ignoring files & dirs without read permission

Any ideas how to back up a directory structure for which there are some files and/or directories for which you do not have permission to read? I'd like to just ignore those, without backup (tar? jar?) ...
1
vote
1answer
40 views

How does one make a backup of system-connections on to a USB flash/thumb drive?

I am using Debian Wheezy. I would like to back up system-connections (full path is /etc/NetworkManager/system-connections) on to a USB stick which has been formatted with FAT32. The folder ...