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

learn more… | top users | synonyms

1
vote
1answer
2k views

How to remotely backup a MySQL database?

How to backup MySQL database in a remote location using rsync? I tried mysqldump but it is storing the backup in the local machine only. Also I need the backup files to be stored in tar format in the ...
1
vote
1answer
5k views

rsync daemon failed to start

While configuring one of OpenStack's components I had to restart rsync using the command sudo service rsync restart. Doing this, I get the following error message: * Restarting rsync daemon rsync * ...
0
votes
1answer
1k views

What is wrong with my rsync backup sh script?

The following is a shell script (backup.sh) rsync -abr --files-from='backup.txt' --delete --stats --progress --exclude={/home/rob} --log-file=/var/log/backup.log /home/ root@remote:/home/ I created ...
0
votes
1answer
120 views

How to backup Ubuntu in a remote Ubuntu system? [duplicate]

I am having a Ubuntu desktop. I need to backup the contents of my Ubuntu system in another Ubuntu system that is connected over a local area network. How can I schedule automatic backup to that remote ...
1
vote
1answer
469 views

rsync creating 0 byte files on cifs mounted drive

Hi I have been using rsync successfully to backup files from my external drive to a cifs mounted shared drive since Ubuntu 10.04 Now with 13.04 I am getting a strage behavior with the following ...
1
vote
0answers
76 views

Backup regimen - is this plan any good?

I have a desktop that has some valuable personal and financial records, photos, etc. I installed a second drive formatted ext3 called 'internalbackup'. I've been using a variety of backup programs, ...
0
votes
1answer
101 views

Rsync between my home computer and Work Computer [duplicate]

I have a computer at home and i want to rsync one folder with a folder on my server so that I can update it, say everyday. I have already read this answer but I don't understand the numbers and how ...
4
votes
1answer
761 views

Rsync behavior in a cron script

I have an nfs device that creates checkpoint (backups) everyday. I want to use Rsync to copy these checkpoints to another device (Drobo connected via iSCSI). So I've run the script on a single nfs ...
6
votes
2answers
16k views

How to exclude files in rsync?

I'm using ubuntu server 12.04, now I want to backup some files using rsync, here is a try: rsync -aAX $HOME/Documents/* $HOME/Backups/TEST --exclude={$HOME/Documents/another/*,$HOME/Documents/temp/*} ...
2
votes
1answer
599 views

Best way for repair files names?

I'm trying to backup directory, but some file names are "corrupteds": rsync: recv_generator: failed to stat "/media/[...]/Ford transit/Porte v\#351lo Ford Transit.odg": Invalid or incomplete ...
1
vote
1answer
822 views

Errors with “Back in Time”

I get these errors with "Back in Time". Can someone explain how to avoid them? [E] Error: rsync: symlink ...
0
votes
1answer
381 views

How to rsync between home computer and computer inside another network?

All the computers I use run Ubuntu. To work from home, I SSH from my home computer to my lab computer as follows: # First a port knock is needed joe@homepc> telnet ssh.university.edu 9000 # Next ...
1
vote
1answer
1k views

rsync: Connection timed out

I am not able to list drectories through rsync: from Host2: user@host2#sudo rsync user@host1::share rsync: failed to connect to host1: Connection timed out (110) rsync error: error in socket IO ...
0
votes
1answer
1k views

rsync how do I sync only existing target files

I'd like to know how I can sync only existing files and directories in the target directory. For example, if I have in the source a\, b\ , b.txt, a.txt and in the target a\, a.txt Then I would ...
14
votes
2answers
3k views

Customizing Ubuntu to run from RAM only, within GRUB options

I'm interested in exactly this up, now let me explain what would like to do with this. I'm preparing to buy 32GB of RAM and already have Quad Core. My idea is to implement another option in GRUB that ...
0
votes
1answer
1k views

connect to windows share automatically and rsync

I have a Western Digital connected to my router at 192.168.1.65 statically. How can I automatically connect at login and rsync? At the moment I am using this command that doesn't work. rsync -Paz ...
1
vote
0answers
365 views

Backup to remote win machine

I have to backup my data to a remote machine. The local machine run ubuntu 10.04 and the remote machine run winXP. Googling I found several discussion about this argument but none of them helps me to ...
0
votes
1answer
317 views

rsync remove old backup on remote PC

Good day I use this script to backup my home PC to remote PC #!/bin/bash #Todays date in ISO-8601 format: DAY0=`date -I` #Yesterdays date in ISO-8601 format: DAY1=`date -I -d "1 day ago"` #The ...
1
vote
1answer
2k views

How to make rsync run automatically when a new file or directory is added?

I decided to use rsync for backing up my downloaded torrents from my home-server to my laptop. I read the whole manual, but I didn't find a way to sync files automatically when a new file or directory ...
1
vote
1answer
532 views

I need to sync my Postfix config to a second server and have Postfix reload when changes are made

I'd like to start out saying that I know enough Linux commands to be dangerous :-) With that warning out of the way, here is what I am trying to figure out how to handle. Currently I have a single ...
1
vote
2answers
340 views

Migrating the / volume?

After a hardware failure of the motherboard and subsequently a few disks, I am migrating the root partition over to another drive. However, given /dev and other peculiar locations I was wondering ...
1
vote
1answer
3k views

rysnc errors, backup with deltacopy and Ubuntu

I have several windows machines that are using deltacopy and rysyc to back up via ssh to an ubuntu machine. Half of the backups will run, the other half will not. Here's an example of one of the ...
6
votes
0answers
73 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 ...
2
votes
3answers
4k 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 ...
0
votes
1answer
173 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 ...
5
votes
2answers
3k 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 ...
1
vote
0answers
266 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 ...
1
vote
1answer
252 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.
0
votes
1answer
2k 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 ...
6
votes
1answer
621 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 ...
1
vote
1answer
917 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 ...
2
votes
0answers
2k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
1k 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 ...
2
votes
2answers
505 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 ...
2
votes
0answers
91 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 ...
2
votes
2answers
525 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 ...
4
votes
1answer
217 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?
1
vote
0answers
344 views

How to rsync a chroot without breaking symlinks? [closed]

I'd like to rsync (backup) a chroot environment from outside the chroot. For that I first make a lvm snapshot of the chroot volume and then run rsync on that. The only problem with this approach: ...
2
votes
4answers
605 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 ...
0
votes
3answers
241 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} && ...
3
votes
1answer
626 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 ...
-2
votes
1answer
385 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 ...
1
vote
2answers
628 views

If I create or modify any file or directory with sudo then I can only manipulate it with sudo

The general issue is that if I create or modify any file or directory with sudo then it seems that I'm unable to create and modify this file or directory further as any other user than sudo. The rest ...
1
vote
2answers
4k 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/ ...
0
votes
2answers
1k 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 ...
1
vote
2answers
8k 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 ...
0
votes
1answer
306 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 ...
0
votes
1answer
164 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
6
votes
2answers
2k views

How can I copy a file to a new location, creating the directory as well

I want to cp a file to another directory but that directory doesn't exist yet. So I would do: mkdir /new_place cp the_file /new_place Can I do this in one? I imagine something like cp the_file -m ...