Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th December 2008, 17:56
nugroho2 nugroho2 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default rsync: how to copy file that is not permissible

I have run incremental backup using rsync successfully after reading from one site but I could not copy many system files because "permission denied" etc. So I just exclude the folders through the excluded files.
Does this mean that rsync has that limitation? I had run as superuser.
I have read the manual, but still could not find the way to copy all system files using rsync. I have used dd command successfully to do that.
Reply With Quote
Sponsored Links
  #2  
Old 5th December 2008, 18:49
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

not all files really exist... e.g. /proc just appears but they are not true files...
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #3  
Old 6th December 2008, 02:37
nugroho2 nugroho2 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for the fast reply.

My code is something like this:
Quote:
$RSYNC \
-av --delete --delete-excluded \
--exclude-from="$EXCLUDES" \
/lib/ $SNAPSHOT/lib ;
and the failure is mostly caused by chgrp and chown, like this:

Quote:
rsync: chgrp "/media/ACERONE/lib/modules/2.6.23.9lw/usb" failed: Operation not permitted (1)
rsync: chgrp "/media/ACERONE/lib/modules/2.6.23.9lw/usb/media" failed: Operation not permitted (1)
rsync: chown "/media/ACERONE/lib/rtkaio" failed: Operation not permitted (1)
rsync: chown "/media/ACERONE/lib/security" failed: Operation not permitted (1)
rsync: chown "/media/ACERONE/lib/security/pam_filter" failed: Operation not permitted (1)
How do you work around the problem?
Reply With Quote
  #4  
Old 6th December 2008, 08:39
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

what filesystem is the ACERONE?
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #5  
Old 6th December 2008, 11:34
nugroho2 nugroho2 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Linpus, based on Fedora 8.
Reply With Quote
  #6  
Old 6th December 2008, 18:20
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

but what filesystem is in place there?
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
Reply

Bookmarks

Tags
backup, incremental, rsync

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 20:17
update failed loge Installation/Configuration 6 1st December 2007 17:53
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
64-bit Debian 3.1 Install Issue naruto Installation/Configuration 14 5th September 2006 04:12


All times are GMT +2. The time now is 14:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.