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)

2
votes
2answers
296 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
1answer
218 views

Run command after nice command has finished

I have 3 nice commands that are dumping some databases, and compress assets for a backup. After that, the files should be copied to another server. I'm using this command: nice mysqldump -u user1 ...
0
votes
1answer
427 views

rsync “Permission denied” despite ownership

I just rsync'd a bunch of files, from a Windows box running cygwin sshd, to a CentOS 6.4 box. I ran rsync -e sshd... on CentOS to do this. Then I plugged in a USB drive on the CentOS box, formatted ...
2
votes
2answers
5k views

Setup Linux backup with Bacula and Webmin

Hi guys I'm having troubles finding a good documentation to setup an easy and possibly web oriented backup solution for one of our CentOS 5.4 file server. The things I need to accomplish are the ...
1
vote
2answers
132 views

mlbackup / rsync / hard links data size

I am new to mlbackup/rsync and the concept of hard links, so I am a little confused after creating a backup data set via mlbackup. So here's the scenario: I am backing up "folder A" to "folder B". ...
1
vote
2answers
549 views

rsync: samba vs ftp for backup

I need to back up ~0.5 TB of files (about 600,000 of them) from a Windows Server 2003 machine to a CentOS 6.4 machine across a 100MB network, and update them once a night. The backup script would be ...
2
votes
2answers
871 views

Verifying a .tar.gz backup

Edit 3: For people who will read this question: --verify mysteriously fails with "Warning: Cannot seek: Illegal seek", hence I recommend you look for alternative ways to verify your archives. My ...
0
votes
1answer
330 views

newsyslog.conf logrotate when file is older than 6 month

I would like to delete following files with newsyslog.conf when the files are older than 6 month: # logfile [owner:group] mode count size when flags [/pid_file] ...
1
vote
1answer
210 views

etckeeper for opensuse - bash script install and configure

I want to automate the installation of etckeeper on OpenSuse 12.3. My first issue is that etckeeper doesn't seem to be available in the standard OpenSuse repos. zypper search etckeeper Loading ...
0
votes
2answers
444 views

Restore using dd will not boot

My current HDD is failing and I've backed it up using dd. After restoring the images onto a new HDD, also using dd, the new system will not boot. It goes through the BIOS initialization, then screen ...
2
votes
2answers
83 views

backup script to exclude some parent dir and include some child dir

What I'm trying to do backup? users home dir which include Desktop,Documents,Pictures, thunderbird which i need to backup of every user all users are in /home partition with there respective user ...
0
votes
1answer
514 views

rsync remote to local automatic backup

Because all my work is stored on a remote server I would like to auto backup my server monthly and weekly. My server is running Centos 5.5 and while searching the web I'm found a tool named rsync. I ...
5
votes
0answers
250 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
1answer
201 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
2k 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
6k 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
197 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
73 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
111 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
84 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
183 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
333 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
125 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
184 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
141 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
72 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
180 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
363 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 ...
3
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
123 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
92 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
410 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
138 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 ...
4
votes
1answer
469 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
283 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
931 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
169 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
54 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
89 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
113 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
527 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
941 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
491 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
561 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 ...
2
votes
2answers
224 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
206 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
164 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 ...