Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 12 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to backup the important files on my main server to a backup server.
I've established that using rsync might be a good way to do this.
I've been looking at rsback http://www.pollux.franken.de/hjb/rsback/ for a front-end for making rotating backups.
But so far I'm stuck with rsync. I keep getting "read-only filesystem" errors, just running the command :
I have read that this might be due to no having read-only = no in the rsyncd.conf, but I don't have one as I'm not running rsync daemonized.
I can't get a clear picture of the pros and cons of running rsync daemonized, and whether or not it would be adapted to my needs.
Distribution: Ubuntu, Debian, Various using VMWare
Can you post the exact error here please.
It is possible you are trying to write to a disk that is full, or mounted read only. Check the fstab on the destination machine.
Rsync must also be installed on both the Source and Destination machines for rsync to work. Obviously, if you are using ssh to connect, the destination must have a SSH server configured and accepting connections on port 22.
I can't see anything wrong with your command though, but check the man page for rsync to find out any other options that may be useful.
Thank you very much for answering.
There must be something seriously wrong with that machine, because not it can't get past a grub prompt.
At this point I'd settle for being able to make a one-time backup out to a network share, but rsync won't copy most of the files, I get "operation not permitted".
Is there any way to force rsync to backup all the files ?
I'm using rsync -av /home /mnt/usb80/yoruban_backup/
and getting : rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/domains/yoruban.dyndns.org/testmailing/gothrough/subscribers" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/domains/yoruban.dyndns.org/testmailing/mod" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/domains/yoruban.dyndns.org/testmailing/mod/accepted" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/domains/yoruban.dyndns.org/testmailing/mod/pending" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/domains/yoruban.dyndns.org/testmailing/mod/rejected" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/domains/yoruban.dyndns.org/testmailing/mod/subscribers" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/domains/yoruban.dyndns.org/testmailing/subscribers" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/domains/yoruban.dyndns.org/testmailing/text" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/etc" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/include" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/vpopmail/lock" failed: Operation not permitted (1)
rsync: chown "/mnt/usb80/yoruban_backup/home/zebolue" failed: Operation not permitted (1)
I'm sorry I wasn't very clear.
Those last error messages I posted are just trying to copy the files to a usb drive.
I can't even get that to work correctly, as you can see, and I'd really like to solve it.
Distribution: Ubuntu, Debian, Various using VMWare
Can you try copying the files directly to the USB stick, using the cp command? If not, check that the USB stick is not being mounted readonly. Enter the command "mount", and you can see what devices are mounted where, and if they are readonly or read-write.
I am not sure if rsync can be used locally, or maybe some extra switches are needed. See the man pages for this.