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
2answers
222 views

Is it better to archive/move mail based on mtime or ctime?

I have been using a perl script to archive mail found here The script uses ctime to process and decide which month sub folder to place mail. In most cases this is fine since the ctime = mtime and ...
1
vote
1answer
85 views

Copying many CDs to disk

I have many old (data) CDs. I want to copy them all to the disk, but the problem is that some of these CDs are no longer readable and it is extremely tiresome to copy the CDs one by one. Is there ...
1
vote
1answer
39 views

How to backup files in multiple directories with git?

The example below is simplified to show the core of the problem, not the problem itself(my file tree is more complicated than that). Let's say that I have two files I want to back up; one in ~/...
1
vote
5answers
2k views

rsync keeps disconnecting: broken pipe

I'm using rsync to backup my home directory. This has been working fine for a long time now. Here's the command I'm using: rsync \ -pavz \ --delete \ --exclude 'mnt/' \ --exclude '....
1
vote
2answers
240 views

What is advantage of backing up a filesystem by version control software?

Version control software seems to be used for backing up project mostly in plain text files. For backing up a file system, with large amount of files or large size, regular file copying/transferring ...
1
vote
2answers
1k views

Two exact copies of folder using FTP and command-line only

I'm looking for any solution that will allow me to emulate functionallity similar to Dropbox/rsync using only FTP protocol and command-line. The general problem is, that I have to run it on a very ...
1
vote
1answer
672 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 ...
1
vote
4answers
561 views

Compare the contents of dynamically generated archives

Short question: I have two dynamically generated tar archives (so they have different timestamps), how can I compare them, ignoring any different in time? Backgrounds... I am doing some backup, in ...
1
vote
3answers
546 views

Multiple Mysql databases backup tool?

My OS is Ubuntu 10.10. I have several small sites (all on various shared hosts) and I'm thinking that it'd be probably good idea to regularly backup mysql databases from these remote shared hosts. I ...
1
vote
4answers
57 views

File permissions on data backups

After making a rm related mistake on some of my files (which was fine because I have backups), I started thinking on how I could limit myself to making such mistakes. I have not done anything with ...
1
vote
1answer
52 views

how do i make a script to generate a gpg backup saver?

Im making a little backup script that includes the function to encrypt the backup. The script runs automaticly with a cronjob. So the password for gpg is in a File. Its just a textfile. How can i ...
1
vote
1answer
124 views

Incremental backup script (shared hosting)

Please consider I'm not sys admin so I have only limited experience with the tools involved, I know there are similar question but I cannot find anything that suit my needs. In a similar question ...
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 ...
1
vote
2answers
41 views

How to check if a dump-generated backup is OK?

When dumping my FS with dump, e.g.: $ dump -0f /path/to/usb/nonexistant-file-name / I get a binary file, extension-free. It's normal. I regularly store such backups, if ever I need to restore one. ...
1
vote
2answers
136 views

Delete files that are not part of a bash array

Right now I backup the mysql databases using a cronjob everyday. Now that the server is getting full, I only want to keep one backup for every month, one backup from sunday every week and the last 7 ...
1
vote
1answer
33 views

Storing documents and backups on several different drives

Currently I have Ubuntu installed on a 120GB SSD. However I also have 3 more hard drives installed on the computer, 2 x 640GB in aRAID array and a 60GB SSD. What I am trying to achieve is to use the ...
1
vote
1answer
37 views

Tool for migration of service configuration

Is there a tool that handles generic migration of config? For example if I have httpd, postfix, MySQL and users and groups data, is there a tool that can extract the config data for each service so ...
1
vote
2answers
286 views

Databases backup with cron

I'm trying to set up a cron job in order to backup my databases daily. Here's what I wrote in my crontab file : 25 18 * * * root mysqldump -u root -p myPassWord --all-databases | gzip > /var/...
1
vote
1answer
4k views

Symlinks and permissions in backup archives

I installed linux on another computer and I want to move my /home directory to that computer. I want to backup that directory with any file permission, symlinks etc. how should I do it? Are there any ...
1
vote
2answers
76 views

Snapshot of drive

Does technology exist which allows you to take an instantanious snapshot of a drive? At the moment, I am using dd which takes a few minutes to create an image of a usb drive to my hdd. Is it ...
1
vote
1answer
814 views

SSH remote backup script

I am trying to backup a remote server to my machine. I am trying something like ssh user@ip "dd if=/dev/sda" | dd of=~/backup.img But that obviously doesn't work. Other variants that don't work. ...
1
vote
2answers
598 views

How to include directory tree for back-up using cpio?

I am backing up files including directories from 1 partition to other using cpio. cpio works perfect for backing but I am unable to backup directory tree. I am in a partition mounted on the directory ...
1
vote
1answer
1k 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 ...
1
vote
2answers
215 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 ...
1
vote
2answers
5k 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 /media/...
1
vote
1answer
1k views

rsync command to backup home tree to another disk

I want to make sure I am using the correct rsync command on Linux. I do not want to run an rsync and end up losing data as I am new to Linux and I have no backup now. On Linux Mint, I want to backup /...
1
vote
1answer
568 views

tar -c Error Messages and Source Files?

During a tar archiving operation with tar -cvf archive.tar source does the resulting tar archive that reports a file changed as we read it error still contain "some version" of the source file that it ...
1
vote
1answer
699 views

Automatic scheduled backup of website (/var/www and MySQL dump)

I've been trying to set up a scheduled backup for my server but i can't seem to get it working. I need to copy the contents of /var/www into a compressed file (tar?) in a folder in my home directory ...
1
vote
2answers
172 views

Reinstalling Linux with backup

I'm using Linux (Ubuntu 10.04) for more than a year and I feel often that I need to reinstall it to newest version. I'd like to take most of my configurations and important settings to the new system....
1
vote
2answers
1k views

Best way to back up a system in its entirety?

I considering doing a complete re-build of my home desktop computer. The only thing that will actually be the same, will be the case. I have a 1 TB external hard drive I want to back up my 200 GB of ...
1
vote
1answer
66 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 ...
1
vote
2answers
50 views

Backup with rsnapshot only if there are changes

I use rsnapshot to make regular backups of my systems' filesystems to a remote server. (For those familiar with rsync but less used to rsnapshot here is a brief introduction to its workings. A backup ...
1
vote
3answers
117 views

File System Permissions: User who can backup all files

I am setting up an automated backup job for some computers on my network. There is a server that will, daily, run an rsync command to backup each of the other computers. I'd like the user that the ...
1
vote
1answer
75 views

Secure way to back up systemd logs

I have arch linux installed on a raspberry pi and want to start backing up my logs regularly to some external write-once media. It'll probably be a CD, but I'm not sure yet, and it will probably ...
1
vote
1answer
42 views

A open source and easy-to-use solution to Symantec Backup Exec

i need a open source and easy-to-use solution to replace Symantec Backup Exec. Basically i only make tape-based backups in a Powervault TL2000
1
vote
2answers
85 views

How to check if directory is mounted on disc X and mount it if it isn't

I'm trying to write script to back my data up. I don't know much about it, so I might take a wrong approach, but what I'm trying to do is use rsync -avh several times for each directory I want to back ...
1
vote
2answers
117 views

Random files selector in filesystem

Context : In order to test some backup process which are supposed to work all nights, i want to select a random files on a large amount of datas. (Around 7 millions of files. This is a NFS server with ...
1
vote
1answer
30 views

What happens if rsync is scheduled to do backup, but remote location is unavailable?

I'm thinking of creating a sync/backup routine with rsync for some crucial files between my Desktop computer and Laptop. The point is not to use a Cloud service. I would set up an automated schedule ...
1
vote
1answer
88 views

Preserve date modified on directories / folders with rsync

I am trying to backup a failing hard drive and rsync would be ideal due to the features it has such as progress indicator and ability to stop and resume. The one issue I am having is that while file ...
1
vote
1answer
48 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 ...
1
vote
2answers
48 views

Automatic sync/backup that adds files to hard disk and keeps when removed

I know there are a few sync tools available in linux (I use openSuse OS btw), but I think they all do a pure "sync" and I am looking more for a backup function which is not synced (I could be mistaken)...
1
vote
1answer
204 views

LVM Snapshot mount read-only or not?

In this page of Linux LVM Howto it's said that "LVM2 creates read/write snapshots by default". In this other page of Red Hat docs it's said that "Because the snapshot is read/write, you can test ...
1
vote
2answers
625 views

How can i keep the mtime of files and directories when I use rsync or cp? For use in Backup/Incremental Backup

I have a new NAS box and after looking through numerous backup solutions I've found doing it manually through PuTTy to work the best. After logging in to the box through PuTTy as root, I first need ...
1
vote
2answers
346 views

Automatically backup usb drive to computer

I am trying to create a personal sync system for my project. I don't want to use something like dropbox, bittorrent sync, owncloud etc for various reasons. At the moment, I have my computers setup ...
1
vote
2answers
40 views

Backup server users creation

I have a RHEL server which acts as the web server for all the users (around 1000 users). Now, I have a backup script which backs up the data (all data inside /home folder) into an external HDD. This ...
1
vote
2answers
456 views

Script from cron doesn't create archive

I'm using: # cat /etc/redhat-release CentOS release 6.4 (Final) Have an script in user's crontab: $ crontab -l 0 7 * * * /home/teamcity/scripts/TC_backup.sh If I run this script under this very ...
1
vote
2answers
56 views

back-up: which patitions to back-up before upgrading/reinstalling

I have Ubuntu13.04 on my laptop. I have to upgrade it to the next release or else I would install a fresh release after deleting my current system. I have already installed and configured my current ...
1
vote
2answers
166 views

Backing up a large file

I have a test running which crashes. I need to find out how far it reached before crashing. It will restart again after crashing and wipe the log file. This wiping takes 10 minutes though. So If I'm ...
1
vote
3answers
1k 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 ...
1
vote
2answers
1k 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 ...