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)

5
votes
0answers
224 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 "": No space left on ...
3
votes
1answer
190 views

How do I backup a non-empty directory and preserve metadata like permissions/user-group ownership/time file was modified?

I used rsync for creating a backup copy: bash-3.2$ rsync -tvrog /export/home/kent/Scripts /export/home/kent/TEST_Scripts_rsync With these options: Options: -v, --verbose ...
1
vote
2answers
1k 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
1answer
5k views

force rsync to overwrite files at destination even if they're newer

I have an rsync backup script I run, which also restores files back where they came from when I ask. But if the files at the destination are newer than those in the backup when I try to restore, it ...
1
vote
0answers
186 views

Bacula: Stalled disk backup job doesn't resume when disk is remounted

I'm using Bacula to backup to a disk file. The thing is, I'm backing up to an external USB disk and I want the backup to be robust to accidental unmounts of the external disk. Ideally, I would like to ...
2
votes
1answer
72 views

How can I make multiple copies of one folder without merging?

When two or more identically named folders are to be copied into or moved to the same location, the default option either in the GUI file manager, or using in a terminal cp -r --backup=numbered or ...
2
votes
3answers
110 views

determine user-modified files

I plan to reinstall my operating system since I messed up some stuff. Access to files and folders is painfully slow sometimes, even if they contain just a few files. But of course, I don't want to do ...
0
votes
1answer
77 views

How to manually restore Mandriva's “drakbackup” backups?

I'm currently migrating a production environment from Mandriva 2010.1 to Debian 7.0 Wheezy. The old environment used the drakbackup tool provided with Mandriva for hourly backups. I'm planning on ...
4
votes
1answer
174 views

How to backup (make a copy of) LiveCD changes?

Many LiveCD distributions (for example Lubuntu 12.10 I use) allow making changes, for example updating timezone, logging in to Google Chrome, updating and installing additional packages such as ...
3
votes
2answers
278 views

How do I refresh the magnetic state on a disks with backups?

I have a couple of large disks with backup/archive material on them. They're ext4. Regarding the ones of those that will be stored for a couple of years without reading the whole disc again I've been ...
1
vote
2answers
124 views

Incremental backup with hard links for multiple folders

Can anyone refer me to a simple backup script or program, that will backup in the following way: Incremental Rotation of X backups Backup to a mounted drive (no need for remote connections) Multiple ...
1
vote
0answers
182 views

How to do incremental backup of .img files containing windows partition?

On an OVS I have a few windows machines. I want to create a full backup their .img disk files, thats done, .img.gz. Than I want to incrementally backup their C:/ partition, but thats not working. ...
2
votes
2answers
133 views

Any unix utility/tool to auto backup files before saving?

I would like to know if there is any existing unix utility or tool that would make a backup of a file with a date/timestamp appended to the filename. Basically I am looking to automatically make ...
7
votes
3answers
1k views

How to rip a scratched DVD-Video? (a “cdparanoia for DVDs”)

I usually use the very nice and simple dvdbackup program to rip and backup my DVD-Video. However some of my DVDs have a few scratches and my DVD drive has some trouble reading a few sectors. So, is ...
0
votes
1answer
71 views

Removing access privileges to backup while maintaining current setup

I have a giant directory, and I am dealing with a backup. I would like to store this backup in as safe of a way as possible. One of the ways of doing that is removing rwx privileges through chmod. ...
2
votes
1answer
162 views

`mv` has failed because of insufficient disk space, what now?

I have tried to move a folder A from partition a to partition b as folder B with mv. Now the target file system was not big enough for all the data (I know I should have checked this first). Anyway, ...
1
vote
1answer
326 views

How can I create an encrypted, file-system–agnostic, mountable volume?

At work, we have an iMac (running OS X) that shares a partitioned hard drive over the network. I'd like to back up to my partition from my Linux machine. I've attempted connecting via cifs, then ...
2
votes
1answer
3k views

Openldap backup restore

I am trying to setup backup and restore and make sure it works. Please note that database size on ldap.old is lot more then the ldap. The /var/lib/ldap.old is my existing database. I have renamed ...
1
vote
2answers
120 views

Remote backup of local server applying Rsnapshot

I have a server which uses Rsnapshot to take snapshots of folders in miscellaneous computers within a Lan. I would like to have another server located remotely that is to serve as a backup to this ...
0
votes
1answer
90 views

How can I have automatic snapshots with s3ql?

How can I make automatic snapshots with s3ql? I want to have a similar behaviour as in duplicity: Pushing the backup to the server creates a new incremental snapshot with the current timestamp. Then I ...
3
votes
2answers
384 views

How can I backup a directory to NTFS while preserving Unix file attributes?

I want to make a backup of my home directory to an NTFS partition (an unfortunate limitation). However, when I last tried using just cp, the attributes (owner, etc) went away. How can I make a backup ...
1
vote
1answer
35 views

Back up snapshots without being admin

I would like to make a back up/snapshot of a folder where I have built various programs (~4.1 GB in size). The idea is to be able to quickly restore everything in this path to it's original state in ...
0
votes
0answers
131 views

Rsync seems to back up files that haven't been opened or changed

I have started using rsync to back some data on my mac to an external HD. It works really well, but I have noticed something odd. Every time I run the command, I get a list of files that haven't been ...
3
votes
1answer
440 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 ...
0
votes
1answer
263 views

USB Drive Software Disk Mirroring - Is this the right approach?

I have a 1TB NTFS USB Data Drive (no boot, etc...) that I would like to keep a mirror of as a backup in case of hardware failure. It is always connected to my raspberry pi running the raspbian ...
3
votes
2answers
836 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 ? ...
5
votes
4answers
168 views

Is it possible to have more than just one backup when editing text files?

Gedit and medit are two text editors that I know of that allow me to save a backup. So, if I create a file called temp.txt the next time I edit it and then save it, I'll have a backup called ...
1
vote
0answers
53 views

Delete backup files according to rules

I manage my backup files with homemade scripts: keep the 7 latest backups (full + incremental) keep the 5 latest full end-of-week full backups keep the 6 latest full end-of-month full backups ...
1
vote
0answers
85 views

Null byte files in duplicity backup

When duplicty encounters 0-byte-files it gives an IO-error: Error [Errno 5] Input/output error ... getting delta for ... The files are usually some wired stuff like ...
2
votes
3answers
2k views

`cp -al` snapshot whose hard links get directed to a new file when edited

I am trying to take snapshots of a massive folder regularly. I have read here: http://www.mikerubel.org/computers/rsync_snapshots/#Incremental that cp -al takes a snapshot of a folder by simply ...
1
vote
1answer
112 views

backup / on ntfs filesystem encrypted

I was about to backup my archlinux, following this guide to my FritzBox, (which enforces a NTFS system that I mounted via samba) as I remembered, that NTFS is not capable to keep permissions and other ...
2
votes
1answer
487 views

rsync and backup and changing timezone

I back up my pictures from my camera using rsync, using: rsync -vzrtl --progress --stats --timeout=0 host destination Now I was in a different timezone when I did my first backup then I moved to a ...
1
vote
2answers
832 views

Multiple source directories in duply

Is it possible to specify multiple source directories in a duply configuration file? If not is there any simple workaround?
1
vote
2answers
460 views

Backup to a synology NAS with bup

I am trying to make a remote backup to my Synology NAS (DSM 4.1) using bup. I compiled bup on my NAS from source, did there: BUP_DIR=/volume1/public/Backups/bup bup init Initialized empty Git ...
1
vote
2answers
521 views

Cancel and resume a duplicity backup

Is there a way to cancel duplicity (running over rsync and symmetric gpg encryption) without messing up the running backup and resume it later (for example after rebooting the laptop) without ...
1
vote
2answers
209 views

Browsing bup backup with gitk or gitg

I am just playing around with bup for my backups and tested it like this: BUP_DIR=/mnt/TestTarget/bup bup init Which gave me the message: Initialized empty Git repository in /mnt/TestTarget/bup/ ...
1
vote
0answers
200 views

how to create a script to backup MySQL databases on separate files?

I need to create a script so to automate the backup process for my database server. Today there are 19 databases on the server and to prevent some schema is created and not contemplated by the script, ...
1
vote
0answers
162 views

BackupPC can't finish backup

I'm trying to backup /etc/ directory on CentOS 5.2 using BackupPC. It takes several hours and then aborted by signal ALRM. There is a partial backup created with all data from /etc But BackupPC thinks ...
5
votes
2answers
272 views

backup list of installed packages

I want to reinstall my linux system (specifically linux mint). I have kept important data elsewhere, so I can safely remove everything. However, I want to do the following: save the list of ...
1
vote
1answer
68 views

Interactive backup tool

I am looking for a backup (or diff) tool where I can select interactively which file I want to copy towards my external hard-disk. Let me explain with further details: I have two computers and an ...
3
votes
3answers
170 views

Is copying the root folder an adequate form of backup?

I am working in a small organization with about 8 or so Linux independent servers. While we currently do remote backups among the machines, I was told to make an "emergency backup" of the machines to ...
2
votes
3answers
752 views

What's the best way to backup files via network on Linux and Solaris machines?

I wonder what the best way to backup files VIA network I have Solaris machines with Oracle 10i with VERITAS cluster, machines are connected to EMC storage /data/oracle directory is mounted on the ...
1
vote
2answers
2k views

Synchronizing same files with different filenames using rsync [duplicate]

I have a directory ~/music that contains all my music files and a directory /media/backup/music that I wish to synchronize with the first one using rsync. Initially, I did a rsync -a ~/music ...
2
votes
2answers
611 views

setfacl incorrectly changes group permissions

To backup the "/home" directory tree of a server, I've created a 'backup' account and used setfacl to make the whole directory readable by it. My cron job runs this command as root each night: ...
1
vote
0answers
528 views

Use dd to backup disk image within an OpenVZ container

I want to use dd to backup the disk of an OpenVZ VPS in addition to traditional cold tar backups. Because I may need to migrate to a different VPS provider. From end user point of view, OpenVZ ...
0
votes
3answers
3k views

What is the function of user group root? [duplicate]

Possible Duplicate: What does it mean to be in group 0? I wanted to avoid using SSH root login to backup my remote server. Thus I set up a non-root user account on the server and place it ...
3
votes
2answers
260 views

Is it safe to only partially restore a disk image with dd?

I have saved my whole hard-disk with dd to an image file. The hard-disk contained some primary partitions formatted with ntfs, swap and ext4. I did it this way: dd if=/dev/sda | ssh user@fastmachine ...
5
votes
2answers
1k views

How to clone btrfs filesystem into different medium preserving snapshots' sharing data

I have decided to give btrfs raid capabilities a try. I set up a btrfs with sudo mkfs.btrfs -m raid10 -d raid10 /dev/sda9 /dev/sdb9 /dev/sdc9 /dev/sdd9 Now I want to clone my existing btrfs ...
2
votes
1answer
648 views

Hardlinks in Dropbox not updated

I want to create a backup of a single .tex file. I created the hard link to the file (which is not in Dropbox directory, lets say it is A) inside Dropbox directory. I did this so because I do not want ...
5
votes
1answer
194 views

Can I exclude /run from my backup scheme?

I have written a rsync-based system backup for my Linux system. The aim is to be able to redeploy the system entirely from the saves, so I don't only backup homedirs. I have excluded a few top-level ...