Questions tagged [rsync]

a utility used to synchronise files between locations (possibly over a network)

Filter by
Sorted by
Tagged with
6 votes
0 answers
88 views

Is there a way to download updates differentially rather than via .deb files? [duplicate]

Possible Duplicate: When will Ubuntu include delta updates? In the old days, you downloaded or installed packages from a CD, and then a year later you got the new version of your distribution. ...
nenieorg's user avatar
2 votes
3 answers
8k views

Where is my Android phone's mount point, so I can rsync it?

I would like to rsync my music with my Android phone (Galaxy Nexus), I'm trying to work out the mount path to use from the shell. The mount command doesn't show up on the phone. In Nautilus the ...
Sonia Hamilton's user avatar
0 votes
1 answer
624 views

Copy entire filesystem in a folder where a raid-1 array is mounted

I am trying to migrate from a single disk drive system to a double disk drive software raid-1 system that already has a running system on it. Meaning that formatting and having a new installation of ...
George Pligoropoulos's user avatar
7 votes
2 answers
5k views

Copying a Running Physical Server to Virtual Box

I have a server running Ubuntu 10.04. As I want to test some maintenance work, such as upgrading to 12.04, I thought I should create a VM copy of the server using Virtual Box. I don't have a physical ...
Guy's user avatar
  • 263
1 vote
0 answers
501 views

Auto run command in linux

I am trying to automate backup with rsync to an external hard disk. What I want to do is to execute this command automatically when external hard disk is plugged. I do not want to run it when other ...
nik's user avatar
  • 119
1 vote
1 answer
931 views

Rsync between 2 servers with different OS versions

I is it possible to Rsync data between two servers running Ubuntu 10.04.4 LTS and Ubuntu 10.04 LTS? Or they have to be of the exact operating system like Ubuntu 10.04 LTS for both of them.
Paddington's user avatar
  • 3,472
0 votes
2 answers
6k views

lsyncd - Sync immediately when source is shared folder

I have a Ubuntu 12.10 guest that is running in VMware Workstation on a Windows 7 host. I have created a shared folder so that Ubuntu can see a folder that lives on my Windows 7 host. I then set it up ...
F21's user avatar
  • 4,319
7 votes
1 answer
2k views

How to set up an rsync backup to Ubuntu securely?

I have been following various other tutorials and blog posts on setting up a Ubuntu machine as a backup "server" (I'll call it a server, but it's just running Ubuntu desktop) that I push new files to ...
ws_e_c421's user avatar
  • 173
1 vote
1 answer
3k views

How to exclude files like 'unitydashlegalseen' from syncing in Grsync?

I have been backing up my home folder with Grsync for several years now. With the introduction of the legal confirmation in the Unity Dash (12.10) I am getting a file called 'unitydashlegalseen' in '/...
Consumology's user avatar
7 votes
0 answers
6k views

rsync: link_stat <PATH> failed: No such file or directory (2)

working with RSYNC on a command line project to sync my phone with my music folder based on a number of... options. Not sure why it's failing, but here goes: The command: sudo rsync -arvRn --...
chow's user avatar
  • 225
3 votes
1 answer
2k views

Bootable backup (clone)

I keep a backup of my settings and files using: sudo rsync --verbose --recursive --links --perms / /media/backup/ Is it possible to use rsync (or other bash options) to make a bootable backup of ...
braindamage's user avatar
2 votes
1 answer
3k views

How to synchronize a local folder with a remote?

I want to upload a batch of files to my server periodically preserving the originals only in the server, that is: If I delete the local folder, files are not ereased from the server. If local files ...
tutuca's user avatar
  • 2,682
2 votes
2 answers
1k views

Mirroring two files: rsync vs cp

I'd like to have a copy of my .emacs file in my Dropbox folder but I'd also like to have this copy in an automatic way, I mean every time I change my .emacs in the home directory I want it to be ...
Luigi Tiburzi's user avatar
2 votes
0 answers
160 views

How can I synchronize all PDFs from one directory with Dropbox?

I want to synchronize all the PDFs from one directory (my Zotero library) to Dropbox. Finally, I want to have a list of all the PDFs, not the directory names. I successfully synchronized all my PDFs ...
mcbetz's user avatar
  • 3,069
2 votes
2 answers
707 views

How to copy files from a remote computer?

I have set up a new pc, and I want to copy data from my old pc to it, without having to manually copy everything to an external drive. I guess I could do something with rsync over ssh, but have no ...
Xavi Ivars's user avatar
4 votes
1 answer
326 views

How can I make rsync to switch to another harddrive automatically if space on the first one is full?

My problem is, how can I make rsync to switch to another harddrive automatically if space on the first one is full? Is there a simple way? Or even a way without using rsync?
Chris7opher's user avatar
3 votes
4 answers
3k views

Directory mirroring over network

I need a software or any other way to backup my home directory instantly so that if my data is lost I have another copy over the network. I have a NAS on my local network and I want to have an exact ...
user avatar
0 votes
3 answers
3k views

Rsync takes more space than source

This is my cron task for rsync 00 03 * * * /usr/bin/rsync --delete -aAXv /* /media/mirror --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/home/*/.gvfs} && /bin/...
aviau's user avatar
  • 21
3 votes
1 answer
1k views

What are the advantages and disadventages of git or bzr + rsync vs rdiff-backup?

I used to use rsync to do backups, but then I switched to rdiff-backup to incremental backups. Recently, I discovered git and bzr while working on a coding project. So, I was thinking, I could have ...
Azendale's user avatar
  • 11.9k
-2 votes
1 answer
1k views

rsync password problem

I have a python script. In that, I am using rsync for data transfer between two systems. While running, it ask for password for data transfer. So that I create a password-less run by the below command....
Viswa's user avatar
  • 1,669
1 vote
3 answers
15k views

Why do I get rsync error 20 when trying to customize Ubuntu?

when trying to customize my ubuntu desktop live iso i'm coming across an rsync error in the first stages of the tutorial. when I execute: sudo rsync --exclude=/casper/filesystem.squashfs -a mnt/ ...
hamhut1066's user avatar
0 votes
2 answers
3k views

rsync problems and security concerns

Hi I am attempting to use rsync to copy files between two linux servers. both on 10.04.4 I have set up the ssh and a script running under a cron job. this is the message i get back from the cron ...
MB.'s user avatar
  • 103
9 votes
2 answers
64k views

How to use rsync from within a python script? [closed]

I plan to move file from one system to another system. For this, I am using rsync command in linux terminal. It works fine. But I need to implement this command to python. I am very new in python, so ...
Viswa's user avatar
  • 1,669
0 votes
2 answers
4k views

How to read the password from variable?

I am trying to move my file to another system which is located in some other place, with this command: rsync -avrz src destination It works fine. But what I need is to put this command in shell ...
Viswa's user avatar
  • 1,669
0 votes
1 answer
255 views

How can I copy, recursive directory, only files with a attribute 1, and reset this a attribute to 0?

How can I copy, recursive directory, only files with a attribute 1, and reset this a attribute to 0? Thanks, Francisco
Francisco Aloisio's user avatar
3 votes
2 answers
3k views

Rsync - GVFS - Questions

I've noticed some issues with rsync and .gvfs over the years. Typically I just --exclude=.gvfs in my rsync command and call it a day. Recently I decided to read the rsync man page top to bottom left ...
JaSauders's user avatar
  • 557
2 votes
1 answer
616 views

How do I copy a specific number of directories with rsync?

I have a folder say /media/Movies/English/ numbers of folders, there is say 500 folder Now I want to copy only 50 folders, not in alphabetical order but in random ... How to do perform this task ...
joe1983's user avatar
  • 545
17 votes
5 answers
24k views

rsync not working between NTFS/FAT and EXT

I have music that I play in my car, from an FAT32 USB stick. The folder which I use to put songs on is stored on my EXT4 hard drive. I add/remove/retag songs regularly and occasionally want to rsync ...
wim's user avatar
  • 12.7k
1 vote
2 answers
2k views

rsync copies files from working directory in addition to the requested ones

The following is a snip of output from bash -vx on my backup script \+ rsync '' -avushi --stats --progress --log-file=/home/bigbird/temp/rlog/rlog1.txt /media/dataspace/data/webcasts/ /media/work/...
Joe's user avatar
  • 1,884
1 vote
1 answer
512 views

How to backup a windows share to another windows share using rsync?

I have two windows shares mounted and I would like to be able to backup the first into the second. The shares are found on a windows server 2003 machine. I was able to copy one folder to another ...
ivan garcia's user avatar
22 votes
3 answers
43k views

rsync between two computers on LAN

I want to rsync between two computers on my LAN with IP-adresses 192.168.20.9 and 192.168.20.10 both running Ubuntu 10.10. I want to try rsync and ssh service between the two computers.
joe1983's user avatar
  • 545
1 vote
1 answer
3k views

How to backup user files automatically via rsync?

I need to take incremental backup of users files which is located in the following location automatically using a cron job. Could anyone explain the procedure to take backup using rsync in detail pls? ...
karthick87's user avatar
0 votes
1 answer
710 views

ssh'ing into my ubuntu machine from another computer on the same wi-fi access point

I would like to copy some large files (photos & video from a vacation) from a mac to an ubuntu machine, over the home wi-fi router that they're both connected to. I've got sshd set up on the ...
SuperElectric's user avatar
3 votes
2 answers
4k views

How to rsync a folder when the folder path contains special chars?

I would like to rsync a folder but have some problems doing so due to the fact that the folder's path contains some special chars. My rsync command uses to look like this: rsync -Pavzbe ssh user@...
user5950's user avatar
  • 6,196
35 votes
4 answers
89k views

Increase verbosity of running rsync process?

I'm running 'rsync -a -i /foo /bar'. Every now and then I would like to know what exactly rsync is doing at the moment without having the -v output all the time. Is it possible to increase the ...
Germar's user avatar
  • 6,387
3 votes
0 answers
996 views

Backup on shutdown [closed]

I am developing a system that runs an rsync every 15 min using cron. It rsync's the users directory to a local backup on another device. I'd like to also run the rsync on shutdown or reboot. How do ...
Wes's user avatar
  • 179
0 votes
1 answer
1k views

rsync to check/compare server1:/data/archive/ to server2:/data/archive/ and have the files synced to another destination such as server2:/data/?

This has been tearing my hair out. I need to: compare server1:/data/archive/ to server2:/data/archive/ (through rsync, ssh, etc) filenames that don't match, get copied (scp) to server2:/data/ ...
Tom Gee's user avatar
15 votes
6 answers
73k views

Paswordless Rsync Over SSH Without Key Authentication [Un-Safe]

I want to set up an RSync job that would connect through SSH. I have my computer ( backup@myhost ) and the remote host ( test@remhost ) and I need to backup the folder ~/something with all it's ...
Sorin-Mihai Oprea's user avatar
1 vote
1 answer
1k views

Rsync permission issues via SSH

I am backing up a networked server via SSH. Unfortunately, I can't seem to figure out how to get root access to the networked server with Rsync. I am using the following command to perform the backup: ...
Arthur's user avatar
  • 249
0 votes
1 answer
2k views

Permission denied for many directories with Rsync

I'm using Rsync to backup an Ubuntu Server server. I'm getting a lot of permission denied messages. Is there a command I can use to see exactly what directories were denied? I could scroll back up ...
Arthur's user avatar
  • 249
5 votes
1 answer
23k views

rsync between two directories

Currently I use rsync -avh --stats --progress dir1(source)say dir2(destination) ... say I have 10 files in dir1 and I have copied using the above command to dir2 all 10 files. Say now I have added ...
joe1983's user avatar
  • 545
0 votes
1 answer
460 views

How to verify if an uploaded file was uploaded correctly

I have uploaded an ISO file to my server via rsync. How can I verify it is correct (Not corrupted or something). This is just in case rsync had an problem.
Luis Alvarado's user avatar
8 votes
3 answers
15k views

Any way of maintaining permissions when using NTFS mounted drive in Ubuntu?

In my web development work, I use Ubuntu almost exclusively. But there are occasions where I need to boot up Windows -- to check a layout in IE, to reslice a comp in Photoshop -- and I want to be able ...
goldenapples's user avatar
12 votes
1 answer
33k views

rsync not actually copying files

I'm trying to synchronize a large directory of files from my server to a local box. (Both are running Ubuntu.) I have a command that looks like it works, but certain files are not copied: phrogz@...
Phrogz's user avatar
  • 1,646
3 votes
2 answers
7k views

rsync verify a file already exists in dest folder so it will skip the copy on the 1st sync

I have been looking at different tutorials about rsync about some specific situation I have. I have a home server with all my pics, this server is my backup, my PC is the one that receives the new ...
keponk's user avatar
  • 213
8 votes
1 answer
6k views

How to make NFS mounts available while offline?

Problem: I work on a notebook and while at work I have access to many NFS mounted drives. When I get home they are obviously not available. Windows 7 solution: My business partner uses Windows 7 ...
lpanebr's user avatar
  • 1,277
1 vote
2 answers
3k views

Problem with gadmin-rsync and cron(d)

I'm trying to get the Schedule for gadmin-rsync working on Ubuntu 11.10. (The gadmin-rsync package is also available in the default Ubuntu repositories in Ubuntu 20.04 and earlier.) When I try to save ...
scabezas's user avatar
  • 111
7 votes
2 answers
4k views

Switch to using rdiff-backup for backups of / instead of rsync?

I usually use rsync to do backups, with a command like this: rsync -avxz -e "ssh" --exclude ".gvfs" --numeric-ids / /media/Backup/slash/ How can I convert the arguments I use with rysnc to rdiff-...
Azendale's user avatar
  • 11.9k
3 votes
2 answers
990 views

How to exclude previously deleted files from a new rsync copy?

Extending on this question: Automatically sync a folder to a USB when USB is plugged in? I do not want an automatic script but just a small bash script to do the following: Copy current ~/Documents/...
Zagga's user avatar
  • 31
26 votes
5 answers
26k views

How to copy only file attributes (metadata) without actual content of the file?

I've already copied terabytes of files with rsync but I forgot to use --archive to preserve files' special attributes. I tried executing rsync again this time with --archive but it was way slower ...
Mohammad's user avatar
  • 805