0
votes
2answers
29 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 ...
1
vote
1answer
61 views

Limited SSH access for log retrieval

I want to have limited access to a Linux server to be able to grab a certain set of logs. Ideally, I would like to be able to run rsync locally to grab the logs from the server and for security ...
0
votes
2answers
32 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 ...
5
votes
3answers
167 views

compare 2 directories and copy differences in a 3rd directory

Running ubuntu 12.04, I want to compare 2 directories, say folder1/ and folder2/ and copy any files that are different to folder3/. There are also nested files, so matching subdirectories should be ...
-2
votes
0answers
27 views

run rsync with php exec command? [closed]

I have two Linux servers. There is a folder called 'script' in /var/www folder on server1. There is also a same named folder in /var/www on the second server. I want to sync 'script' folder on server1 ...
0
votes
0answers
23 views

How to make rsync copy symlinks to files, but leave symlinks to dirs as links?

I'm doing some system maintainence work that requires things like this. Putting simply, I want symlinks to files to be replaced with the files they point to, but symlinks to dirs left as links. How ...
0
votes
1answer
20 views

Date variables within rsync filters?

I have an rsync script that syncs logs files from a remote server. The log files are always named YYYY-MM-DD-HH-MM-SS. At the moment, I have a filter in place to only get the current year's logs: ...
0
votes
1answer
44 views

Rsync a directory from a local server to a remote server without losing permissions

I need to transfer a directory from my local server to a remote server on the exact same place on the remote server. In the directory, there are a lot of different users involved and I want to ...
1
vote
1answer
61 views

Rsync Backup from XFS to ZFS

I currently have a backup solution in place that uses rsync to backup all out Linux servers from remote sites, to an XFS drive in our HQ. I am now trying to rsync the folder from the XFS drive in our ...
0
votes
1answer
63 views

Space requirements when running rsync

I have two partitions, /disk1 and /disk2, each with 100GB of space, and both of them are 45% full now. I want to rsync /disk1 to /disk2/backup/, is it safe to use rsync for this purpose? rsync -avc ...
2
votes
1answer
77 views

Using rsync to copy from HFS+ to HFS+ on Linux

I have a small linux server. I have data on several HFS+ drives that I'd like to consolidate to another HFS+ drive. The drives will be connected to the server via a USB HDD dock. I'm running Ubuntu ...
2
votes
2answers
94 views

rsync not deleting folders

I have a problem rsyncing my folders. In my home there is folder named "workspace". Recently I changed its content a lot, creating new directories, deleting old ones. New folders were successfully ...
0
votes
2answers
84 views

xargs remove file name containing $

I am using xargs to remove files from remote server. xargs -a /var/log/del.log -i -exec ssh root@abc.com 'rm -rf "{}"' del.log contains path of the files which are deleted on local server and I ...
3
votes
1answer
124 views

How to prevent rsync (using ssh as remote shell) from facing a password prompt

I would like to run rsync without the need to enter a password. I understand I can do this using ssh keys and once the right key has been copied over to the remote server rsync logs in fine without ...
6
votes
4answers
663 views

Is there any other reason for “no space left on device”?

I am using Dirvish on a Ubuntu server system for backing up a hd to an external usb 3.0 drive. Until a few days ago, everything worked fine, but now every backup fails with "no space left on device ...
-1
votes
2answers
51 views

Consecutive Remote Rsync Commands (Purpose Defeated by Multiple Password Prompts)

I have two huge folders that I want to rsync one after the other using one command. Command 1: rsync --compress /home/user/folder/ user@192.168.1.10:/home/user/a/folder Command 2: rsync ...
5
votes
4answers
342 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
164 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 ...
1
vote
3answers
94 views

IPTables allow then block with active connection

I have a backup server and I was wondering if I set a cron job to allow connection from a server in IPTables then once it connects with rsync, can I use IPTables to then shut off the port to prevent ...
0
votes
1answer
40 views

rsync source code

I want to copy source code files from a remote file system to the local server. The source code file extensions are *.?pp, *.[CHh]. How can I run an rsync to copy the remote file system hierarchy and ...
1
vote
1answer
63 views

rsync from linux host to fat32

i like to backup my linux based NAS (small files like picutres) to an attached USB Disk with FAT32. For this i like to use rsync. I know, that this will not work correct per default. rsync will sync ...
1
vote
1answer
208 views

Force rsync to copy symlink, even if referent does not exist

I am getting this message with rsync: symlink has no referent: "/a/path" Well, rsync is right: in the source filesystem, the (symbolic) link is pointing to a non-existent location. That is ...
1
vote
1answer
140 views

Rsync to windows FTP over curlftpfs fails to set permissions

I'm transferring some large files (1.5Gb) to a windows FTP server in a cronjob. It's going over a 2Mbit ADSL line, with 512Kbit upstream. So it takes forever, and can be prone to dropping to line. I ...
4
votes
3answers
91 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
35 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 ...
9
votes
2answers
248 views

Server migration: most efficient way

I have been tasked with migrating one of our sites between servers (two different hosts). Both environments are linux. The site streams video, so the server is currently filled with media files ...
5
votes
8answers
384 views

make a cronjob wait for previous rsync job to finish

I'm using rsync to backup some data from one server to another. All works fine, but it might take longer to finish depending on how much data there is to transfer. Is there any gauranteed way to ...
5
votes
2answers
208 views

Rsync show progress for individual file

I'm using rsync to upload/download a pretty large file (20Gb). I'm aware of --progress option, but what it does in my case is just showing me the result at the end. My problem is that during some ...
2
votes
1answer
90 views

Why does rsync forks itself? And why one such forked process is almost kinda idle (as seen in iotop)?

This is referring to the matter stated here and I am also experiencing the same. In one of my servers, I ran an rsync, to backup a huge directory (size greater than 300 Gb) to a different disk, ...
3
votes
1answer
278 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 ...
1
vote
2answers
95 views

last resort linux backup (rsync) will this work?

I have some linux servers mostly Centos Web hosting servers (Cpanel, Directadmin, kloxo). I have some backup systems implemented, but I like to keep a local backup on my home computer. This will be ...
0
votes
2answers
63 views

Preventing Rsync From Saving To A Local Drive

I have a shell script on my Ubuntu 10.04 Server that runs every night and uses rsync to backup files to an external share mounted to the /media/backups folder. The problem is, sometimes the drive ...
0
votes
3answers
159 views

rsync without password, none of google (server fault) tutorials worked

I need to use rsync for a daily backup operation and in the past (on different servers) I managed to just use a rsa key etc, but now none of google (serverfault) tutorials work at all. It keeps ...
3
votes
3answers
305 views

How to keep multiple servers in sync file wise?

I'm currently managing a cluster of PHP-FPM servers, all of which tend to get out of sync with each other. The application that I'm using on top of the app servers (Magento) allows for admins to ...
0
votes
3answers
145 views

rsynced files not getting proper ACL

I use rsync (rsync-3.0.6-5.el6_0.1.x86_64 on Scientific Linux 6) to transfer files from a VFAT disk to an NFS mounted ext3 file system. I have ACLs set up on the ext3 system and all works as expected ...
1
vote
5answers
214 views

Setting up SSH Key securely for SCP/rsync to run without password

This is how I am currently doing it: # ssh-keygen -t dsa -b 1024 -f /root/localhost-rsnapshot-key Enter passphrase (empty for no passphrase): [press enter here] Enter same passphrase again: [press ...
1
vote
1answer
55 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) ...
1
vote
0answers
49 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
108 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 ...
2
votes
2answers
103 views

rsync invocation to replace symlinks pointing to source?

Currently I'm moving a big filesystem to a new server as the original fileserver is no longer able to handle the filesystem writes. To make this quick I made symlinks at the target filesystem ...
0
votes
2answers
65 views

moving files and directories between two machine, via a third, preserving permissions and usernames

The situation is as follows: Machine A has a file repository accessible via rsync Machine B needs the above mentioned files with all permissions and ownerships intact (including groups etc) ...
0
votes
1answer
181 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 ...
4
votes
2answers
315 views

syncing local folders

What is a best way to keep in sync two local folders ? I know I can use rsync -Ra but I need to keep in sync all the time. Is it possible to make rsync sit in background and constantly sync local ...
0
votes
1answer
179 views

Drive cloning dd or rsync/sync via KVM

I've got a crash and the system won't boot correctly. I am getting errors like: ata3.00: status: { DRDY } ata3.00: status: { UNC } What would be the best way to save the main drive to make the ...
0
votes
1answer
248 views

Does rsync delete local files if they were deleted on source folder?

Here's what I'm trying to do: In essence, get files from one net storage device synced to another net storage device. The solution was to rsync from the source net storage to a local machine. Then ...
2
votes
1answer
66 views

Confused about rsync no-perm alike option

Trying to upload files without update perms/owner with this options: --no-perms --no-owner --no-group -avz It works well except it changes perms and owner, which is weird. Something wrong with my ...
2
votes
2answers
329 views

rsync protocol incompatibility

When doing an rsync pull from a remote server using the following command: /usr/bin/rsync -av -e ssh --delete --chmod=a+rwx,g+rwx,o-wx --dry-run username@server:/remote/path/ /home/dir/local/path I ...
0
votes
1answer
75 views

Running rsnapshot backup in a Linux virtual machine?

I have a remote Linux server machine that I wanted to mirror backup now and then. Since I am a Windows user, I installed Linux virtual machine on my Windows and I am now using rsnapshot to do the ...
1
vote
1answer
188 views

rsync server side limit bandwidth/connection

In a VOIP application, I have upto 3000 clients rsync audio files from there linux server in a daily, server is placed at a data center (10Mbps in/out bound), the server works as a VOIP sip server ...
2
votes
2answers
38 views

Looking to list all files/dirs ignored by rsyncs exclude file

I have around 7 or 8 servers, which I rsync down to my local LAN each night. All of these rsync jobs use a common excludes.txt, to filter out files or directories I dont want mirroring. Now, the ...

1 2 3 4 5