S
Shabam
I have a command script that backs up a user account. This involves moving
files from different directories into an archive.
Now, I need that script to back up all user accounts on the system, by going
through the directory structure and running the backup script on each one.
Can someone show me how this can be done? I'm not a perl programmer and
have only dabbled a bit in it.
My directory structure is like this:
/Users/0/
/Users/1/
/Users/2/
/Users/3/
.... so on...
User account names reside in those folders, so user jason would be in
"Users/j/jason".
Please don't tell me to just tar/gz the /Users/ directory. That will not
work for this because it will be greater than 4GBs, and it won't allow me to
restore accounts individually.
Thanks for any help.
files from different directories into an archive.
Now, I need that script to back up all user accounts on the system, by going
through the directory structure and running the backup script on each one.
Can someone show me how this can be done? I'm not a perl programmer and
have only dabbled a bit in it.
My directory structure is like this:
/Users/0/
/Users/1/
/Users/2/
/Users/3/
.... so on...
User account names reside in those folders, so user jason would be in
"Users/j/jason".
Please don't tell me to just tar/gz the /Users/ directory. That will not
work for this because it will be greater than 4GBs, and it won't allow me to
restore accounts individually.
Thanks for any help.