How can I backup all accounts manually via ssh? Is there a command to run? I want to do an extra manual backup asap and can not wait for the automatic function to run.
How can I backup all accounts manually via ssh? Is there a command to run? I want to do an extra manual backup asap and can not wait for the automatic function to run.
Last edited by roax66; 07-14-2005 at 10:38 AM.
You can manually backup a specific account by doing the following
/scripts/pkgacct <username>
Thanks but I wonder if there is a possibility to backup all accounts in a single command ie. just as the automatic function included in whm?
See if the following will work for you
/scripts/cpbackup
I get the message:
"Weekly Backup is up to date".
Hence it is impossible to run a new backup manually (unless I delete the current backup first)?
I'm outta ideas now, haha. Sorry man.![]()
this will prob work, pretty sure it will just error out on non-cp accounts
for X in `cd /usr/home/; ls`; /scripts/pkgacct ${X}; done
Try setting backups to "daily" first in your WHM and then run /scripts/cpbackupOriginally Posted by roax66
Hope that works.
Regards.
HostingZero.com - Free Web Hosting. Up to 10 GB disk space / 100 GB bandwidth. cPanel with Fantastico