Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, My name is Leslie, I have a problem backing up /sys directory. I'm running Linux Enterprise ES ver 4.0 .
I'm using Symantec Backup exec ver 10.d on Windows server 2003 to do the backup (The server is : HP Proliant DL380). I've also installed the Veritas Linux remote agent agent in this server. The backup device which is used is the HP Ultrium LTO2.
My Linux is residing on another HP Proliant DL380 server.
When I backup the Linux server the backup process suddenly terminates when it reaches about 63% complete. The error message is " The media operation was terminated by the user.
After testing several backup jobs I found out that if I skip the /SYS directory in Linux from the backup. The backup will go through without any problems.
I'm not sure if it is normal that the Linux /sys directory cannot be backed-up. Is there any work around to this so that I will be able to backup all the contents of my linux server?
Need your expert advice.
I know this post is old but a question for present and prospective viewers.
Trickykid mentioned not to backup folders such as sys, proc, tmp, etc.
He then mentioned a typical backup would only include the /etc, /boot, /home/, /var, and /usr.
However, shouldn't the /lib folder be backed up as well as the .* ?
When I run rsync, my syntax to copy all hidden files and folders starting from the root directory is as follows:
rsync -av .* /dir/to/backup --exclude=sys etc.
First, he said 'typical' ie not always.
2nd he said 'and any other partitions you have valuable data.'
There's no way to list all the dirs that should be backed up on every system; too many variations.
However, /proc, /sys are not real dirs (as above) so should be ignored.
I think he certainly implied ALL files in dirs to be backed up, inc hidden.
/tmp is optional; some places that are heavily audited want that backed up as well ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.