Questions tagged [rsync]

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination. Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.

Rsync website

1595 questions
0
votes
3 answers

rsync just thumbnail.jpg and leaving the rest

I have a large directory tree with lot of files like; /abc2/def/thumbnail.jpg /abc1/def/thumbnail.jpg /abc1/def/geh/someothertextfile.txt /abc1/defe/geh/thumbnail.jpg I would like to rsync all those directories and files that match thumbnail.jpg to…
Tom
  • 11,176
  • 5
  • 41
  • 63
0
votes
4 answers

is there some sort of catchable trigger when one writes/deletes a new file in linux?

I would like a simple tool for syncing two folders on remote servers... Utopically, I only need an OS catchable trigger (or something like that) that could be used to fire rsync automatically ? Is there anything of the sort, or a simple tool capable…
arod
  • 582
  • 6
  • 19
0
votes
1 answer

Offsite data backups and data vaulting...

This is for website data, database data, and some internal office data that needs to be "vaulted" and secured. Any viable "experts only" solutions out there that don't require ridiculous time to setup and maintain and also are very cost effective?…
boombots
0
votes
3 answers

How can make rsync use sudo

I use rsync to mirror a number of folders on our failover server. However, some of our files, such as thumbnails or full-text indexes, are generated by our applications under the web user (named 'nobody'), and default to restrictive…
Bryan M.
  • 161
  • 8
0
votes
1 answer

Migrate data from one server to another using rsync

I'm moving from one VPS to another, and I figured that the simplest way to transfer data would be rsync. However, the data is owned by a user, www-data, which doesn't have ssh privileges, and I'd like it to be owned by the same (named) user on the…
Leonid Shevtsov
  • 551
  • 1
  • 5
  • 8
0
votes
1 answer

How to create daily backup and hourly differentials with easy restore?

I need to create a daily full backup (snapshot) of a directory tree + hourly differentials. A developer who has only sftp access needs to be able to restore from the backups and hence a solution such as rdiff-backup or duplicity wont work as she…
Michelle
  • 923
  • 5
  • 20
  • 30
0
votes
2 answers

Syncing 1TB+ to a iSCSI device, software needed

I need to sync a local disk to a iSCSI mount on Windows (server 2003), and I'm struggling to find software that's capable of doing so in a reasonable timeframe. Notes on the current 1TB disk: - 800GB currently in use - Contains a folder with several…
Mojah
  • 876
  • 1
  • 9
  • 13
0
votes
1 answer

Is it possible to insert the rsync output inside MySQL database for web page view?

I have 5-6 cron jobs running daily. Is it possible that when rsync runs, then I can insert the files copies, deleted , size, any errors and all other stuff inside MySQL database. So that I can write php script to see the rsync history.
John
0
votes
2 answers

Re-sync deleted files from rsync

I need to recover files that have been deleted. My scenario: I have a rsync script that runs at 9PM and mirrors everything from server1 directory to another directory on backup server2. A couple of files have been accidentally deleted from server1.…
hfranco
  • 585
  • 2
  • 9
  • 25
0
votes
3 answers

Best way to backup and restore millions of files

I'm facing a rebuilding of the volume on which I host the mail storage (kerio mailserver, which uses maildirs). I need to backup and restore as quick as possible the 3.5+ millions (for about 600GB) small files of the store directory. It takes more…
0
votes
1 answer

rsync for copying file

I am migrating my old server to new server . I used this server for hosting website . first I tried sftp but due to huge number of files and connection time out , it simply didn't work . then I tried rsync .rsync working good , but only problem I am…
vinayrks
  • 157
  • 1
  • 8
0
votes
1 answer

Rsync fails to update

I have a script running on several computers that mounts a remote directory and transfers from the local disk to that mounted directory. I have rsync running with the -a tag, but for some reason files aren't getting updated. From my understanding,…
Nicholas
0
votes
5 answers

Best way to keep webservers in sync

Right now I'm using NFS (network file system) to mount a file server's web root to two webservers. Seems to me NFS eats up a lot of resources. Is there a better way to sync files on webservers? I know you can run rsync every few seconds, but not…
bonez05
0
votes
1 answer

How to make ddrescue rescue unreadable files along with rsync run when you backup files, when they exist only at the source?

How to make ddrescue rescue unreadable files along with rsync run when you backup files, when they do exist only at the source? I think that major programs that work on backup disks must "merge" with ddrescue for platter disks. I have a lot of disks…
0
votes
1 answer

Rsync daemon, if it isn't using ssh, how does it authenticate the user trying to transfer data?

I understand that you can avoid ssh authentication with rsync daemon, but what method of authentication is it using then? How is it transferring the data?