Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
our companies other location has a small network of about 6 or 7 windows computers running with a RH8.0 server... Each of the people down there have their own private space on the server. The one girl who does the inventory of the parts keeps everything important in her directory and everynight she's backing up only her directory to a CD.
What im trying to figure out is how she can back up everyones personal directories from her XP machine. She doesn't have root access and I was thinking that she could possibly login to the server through SSH and have access to those folders that way? I've never setup or used ssh so I'm not sure...
Does anyone have any ideas of how she could get access to these folders to back them up every night, without giving her root access to the whole server?
Why not run a cron job (as root) that backs up the directories to a tar.gz file that can be placed in the persons home directory. This can then be picked up via samba and burnt to a CD. You could even password protect the file for extra security (ie she can't see peoples files)
i'll have to research cron job some but would it be possible to have the back up run at say 4pm everyday? can it be automated or would someone have to login as root and run the command?
Originally posted by p0 theed i'll have to research cron job some but would it be possible to have the back up run at say 4pm everyday? can it be automated or would someone have to login as root and run the command?
Yes cron is like Microsofts Task Scheduler you can use it to run a program/script when you want.
/var/www is just another directory you may wish to backup ie if you had a website etc (it was just an example)
2>&1 directs stderr (standard error stream) to stdout (standard output stream). In turn the standard output stream is output to a logfile containing the last backup job (just incase you have problems).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.