15
votes
2answers
528 views

Does Rsync Allow Files To Be Synced Both Ways?

I have backed up a linux web server using rsync with cygwin. I now have a perfect copy of the server on my windows laptop. If i delete or modify a file on my laptop and run rsync again with cygwin ...
0
votes
2answers
45 views

Backup Ubuntu server with cron/rsync: Problems with resuming large files

I currently have a dedicated Ubuntu backup server which wakes itself up from suspend (using rtcwake) daily. 5 minutes later a cron BASH job kicks in, using rsync to pull files from various network ...
1
vote
3answers
76 views
+250

rsync changing already existing files

I have a simple line of rsync in my crontab that gets backup files from the prod server to another. It looks like it is touching the already existing files in the destination folder. This way, the ...
6
votes
3answers
908 views

Why don't people just use rsync to back up vmware guests?

If I am running a modern vmware ESXi system, I can drop in a statically linked rsync binary and rsync files to any destination over SSH. I'm trying to understand why most (all ?) backup of vmware ...
0
votes
1answer
25 views

handle multiple calls of rsync, dd and snapshot

The server runs the following operations often. It takes a snapshot of a logical volume, then backup up the content to the remote backup server. It is possible that multiple backups and transfer ...
1
vote
1answer
178 views

Incremental backup mongodb using rsync

I want to store small files (60 kb, couple of millions) into MongoDB, I was thinking using GridFS, but it seems BSON will do. Anyway, I want to make rsync to backup the mongodb chunk files, so ...
1
vote
3answers
126 views

Backing up rsnapshot directory with rsync copies entires backup directory

I have a main backup server running rsnapshot, with ~2TB of backups stored on it. After the nightly backups, I copy the contents of the rsnapshot directory to an offsite server, using rsync -aH ...
3
votes
1answer
113 views

How to backup OS-specific files with rsync? (Mac OS X to Ubuntu Server)

I want to setup an automatic backup system using rsync to backup documents/source code from Mac OS X to Ubuntu Server. I have some documents written in Pages (iWork), and lastly when I tried to ...
1
vote
1answer
91 views

backup files to a remote server with multiple versions using rsync hardlink option

To use rsync hard link option to backup files remotely so that remote backup server could keep multiple versions of the backups, both the link-dest directory and the target directory have to be on the ...
0
votes
0answers
47 views

Rsync to copy only files by date or changed files?

I'm using a freenas server for the office project files accessed by multiple users. I have an offsite backup for security purposes. Now I don't want to bring a 32 TB raid array to the office to sync ...
0
votes
2answers
100 views

Graceful way to rsync millions of files between two local folders

I want to rsync a folder with millions of files from a local directory to another, on a daily basis. The files themselves change very rarely. I want to reduce the impact on the running server, e.g. ...
0
votes
0answers
37 views

Ubuntu backup script kills performance

I run a nightly backup, which takes about 1 hour. During that the performance is bad as hell. It looks pretty much like this: # DB dump ionice -c 3 nice -n 20 mysqldump --skip-lock-tables --user=foo ...
0
votes
1answer
41 views

File system for rsyncing to loop mounted file?

As a backup, I want to rsync a system partition to a loop mounted file (which is stored in Dropbox). The size of the partition is ca. 2GB and growing, and the backup is scheduled to happen once per ...
0
votes
0answers
105 views

Backup archive format for delta syncing to Dropbox?

On an Amazon EC2 server with Linux AMI, I currently have a daily backup cron job be run: TMP_BACKUP_FILE="/tmp/backup.tar" BACKUP_FILE="/home/ec2-user/Dropbox/Backup/backup.tar" rm -f ...
-1
votes
1answer
62 views

Rotating Backups with RSync and CP - Excludes not working perfectly

My script looks essentially like this: cp -al $yesterdays_snapshot $todays_snapshot rsync -vadlH --exclude-from excludes.rsyc $source $todays_snapshot This works great except for one problem: If ...
1
vote
1answer
58 views

Backup Subversion Repositories with rsync [duplicate]

Is it ok to Synchronize the SVN Repository directory using the rsync command. Will there be any issues, will the repository files get corrupted due to this? (I use rsync only when no one is using the ...
-1
votes
1answer
54 views

Rsync backup - detect new directory and backup only from that directory

New cpanel daily backup is creating separate directories for daily backup. This creates problem when I try to user rsync to do an offsite backup since I would like to rsync only latest data. E.g. On ...
-5
votes
1answer
53 views

Backup of images [closed]

I've just installed a Ubuntu for a file server. It will share a folder (samba) and employees of my company will save photos on that. Currently the total amount of the photos is about 100GB and every ...
0
votes
2answers
77 views

Rsync for generating daily backups, with some sort of history

this is probably expanding on Using Rsync to backup to an external drive I usually, manually, back up my data to an external drive. I start by creating a directory on the external drive with today's ...
0
votes
2answers
589 views

Rsync transfer via SSH is very slow

I am making a remote backup of my website. Whole catalog is about 70GB with about 5,000,000 of files total. Here is the command that I run on my backup server: rsync -ah -e ssh --delete ...
1
vote
1answer
209 views

Can I make rsync output summary only?

Because I use rsync to backup a directory which is very big, containing many sub-dirs and files, so I dont want to see the "incremental file list", I want to know the summary in the end only. but if I ...
2
votes
1answer
252 views

ssh connection operation timed out using rsync

I use rsync to backup my remote server on my local device but when I combine it with a cron job my ssh times out. Just to be clear, the data is stored on a remote server and I want it stored on my ...
0
votes
0answers
133 views

backup-rsnapshot / rsync filling backup dir up to double the size of the original drive

I am using backup-rsnapshot to backup a debian system creating incremental backups with rsync. Basically, what is happening is that the backup drive gets filled up until it is completely full and the ...
-5
votes
2answers
123 views

Backup Centos Server on Personal Windows 7 Computer [closed]

Using rsync or with a similar method, I would like to backup my dedicated Centos server (client websites specifically) on my personal Windows 7 computer every week. Is there an application (paid or ...
0
votes
2answers
293 views

RSync files or Map Network Drive in Windows Server?

I have to create a backup plan, from my machine .155 to .156. In .155 my files are in C:/MySQLServer/backup and should be copied daily to .156 at I:/MySQLServer/backup, so I was looking over the ...
3
votes
3answers
450 views

What is the best way to copy 9TB of data to multiple external drives, sequentially?

The data is currently stored in a 9TB RAID array, with many users having many files and directories. We'd like to back it up to five 2TB external hard drives, but since we only have one free USB port, ...
0
votes
2answers
97 views

Using rsync to copy files from one server to another, pertaining users and permissions

I'm backing up user uploaded files from my primary server to my failover server using rsync. If I use rsync -a to mirror an /uploads directory from server A to server B, can I expect programs using ...
0
votes
0answers
104 views

Performing an rsync before initial rdiff-backup

I want to set up standard rdiff-backup to remote server. However the data is very big for the capacity of internet connection, so I have transferred them on physical media. Than I synchronized the ...
1
vote
2answers
497 views

Using Rsync to backup a Windows Share

I have a Windows 7 box that I want to back up to an Ubuntu machine. I have mounted a Windows share on the Ubuntu box (using CIFS/Samba), and I want to use a cron job to rsync what's on the mounted ...
1
vote
1answer
97 views

Can ZFS resilvering be used effectively for backing up to an external drive?

Suppose I currently use rsync to back up an internal drive periodically to an external drive. The external drive is usually stored offsite but is periodically brought over and plugged in via USB and ...
1
vote
2answers
126 views

rsync --exclude not excluding

I'm using rsync on an Ubuntu 12.04 LTS server with the following script to back up all of /, however, whenever I run the script (as root), the directory /backup is included, when it should be ...
1
vote
1answer
500 views

automysqlbackup then rsync

I'm trying to configure an automatic MySQL backup solution under an Ubuntu server. I have chosen automysqlbackup and rsync for this purpose (does it seem to be a good choice ?) rsync will be used in ...
0
votes
2answers
81 views

About rsync server and client [closed]

after reading some documentation, I still don't get it (though it seems some just use it wrong): What's the purpose of rsync server and why not using the client only? Most seem to use rsync via ssh, ...
1
vote
5answers
270 views

Using RAID1 to assist in offsite backups

I'm trying to set up an offsite, offline backup procedure for my company's critical information. We already have an in-office redundancy backup set up using RSYNC that backs everything up onto two ...
5
votes
4answers
732 views

rsync/ssh/rsnapshot backup — remote script execution

I have the following settings in my configuration file: (/etc/rsnapshot.conf) Script/Tool: http://www.rsnapshot.org/ backup_script ssh root@host.domain.com "sh /home/user/backup_mysql.sh" ...
0
votes
3answers
439 views

rsync over ssh server to server backup

I have a server that holds all my backups and I would like to back them up to another server. I was just wondering the best way to do this. do I setup rsync or use scp? I would also like to keep ...
2
votes
1answer
486 views

rsync --inplace not reading target file?

I'm trying to optimize the daily backup of a LVM snapshot of a large MySQL database. It works quite ok when I just cp the files (local RAID to other local RAID), with an average speed of ~100MB/s. But ...
0
votes
2answers
110 views

What directories absolutely need to be in a full system backup? [closed]

I'm currently configuring an Ubuntu Server system and would like to perform routine backups using rsync. The goal is to have the right files backed up so that I can use the backup to create an ...
0
votes
1answer
42 views

rsync synchronizing files only without creating folders on destination

Is it possible with rsync to not create directories on destination? MY SOURCE: a/ a/x.txt b/ b/y.txt b/c/g.txt MY WANTED DESTINATION: d/x.txt d/y.txt d/g.txt Is there any way to do this with ...
0
votes
1answer
234 views

Using NFS mount script with grandfather father-son script but only getting 6 daily backups. I should also have 4 weekly and 2 monthly backups

I'm using rsync to clone changes from a remote server(MT DV4.0) to a local one(ubuntu 11.10). I'm then using the following copy/paste script to compress then archive the files. #!/bin/bash ...
4
votes
3answers
167 views

Backup Permissions for Entire File System

Here's the skinny: I have a Linode VPS that I want to backup to my local laptop via rsync. I have just generated ssh keys for the communication and left a blank passphrase for the private key so I can ...
0
votes
0answers
44 views

Backup laptops mac address in local network

I am looking for a good method to automatically clone directories from laptops that is currently connected to the local network to a server on the same local network at a regular interval in a small ...
4
votes
1answer
622 views

rsync / rsnapshot

I am using rsnapshot and my config is as follows: config_version 1.2 snapshot_root /home/user/.snapshots/ cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_ssh /usr/bin/ssh ...
3
votes
1answer
136 views

FreeBSD restore of /rescue

I'm running a restore from a previous backup of my FreeBSD system, and run into trouble when restoring / (excluding mount-points). The problem is that /rescue fills the / partition (to the extent that ...
1
vote
1answer
58 views

rsync incremental as a get

Is it possible for rsync to be used on 1 backup server and then connect to all the other servers and grab files and backup incrementally? my current command: (how ever this is more a PUT then a GET) ...
0
votes
1answer
73 views

Remote backup grabbing

I have 2 servers. 1 is main. 2 is backup. I would like 2 to log in and grab files from 1 and backup on 2 with rsnapshot. Is this possible? I was looking at the config setup and saw this: ...
1
vote
1answer
310 views

rsnapshot - not correctly archiving mysql databases

My rsnapshot configuration: snapshot_root /.snapshots/ backup /home/user localhost/ backup_script /usr/local/backup_mysql.sh localhost/mysql/ Using this file: NOW=$(date ...
1
vote
0answers
65 views

Cross machine full backup solutions

I have a fully configured VPS where every service relevant to my customers and to me is provided in abstraction from the underlay hardware; that is: the softwares for webserver, PHP, forums, and every ...
4
votes
1answer
209 views

Rsnapshot hard-link ONLY + diffs

We have a 39 TB linux server (mdadm raid 6 15 3TB Drives) that has about 12TB of working data on it. Initially I wanted to create a snapshot system that only saved the data that was changed, much like ...
0
votes
1answer
247 views

Using rsync to make daily backups every 24hrs

I would like to backup /home/* /root/* and mysql databases to a set of RAIDed drives. Performance wise I want to do incremental backups. Would this be the idea? rsync -al /home ...