• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

backup cron

B

boxlocks

Guest
Hi;

I've read through the plesk backup reference manual and I understand how to make a complete backup and have successfully done that.

What I'd like to know if anyone has successfully added this as a cron task and if so how.

The sites I host are on /sda2

My backup drive is /sdb and it's mounted as /storage

Now I log into the box as root and run the command /usr/local/psa/bin/pleskbackup --all /storage/2007-04-02-all (example)

What I'd like to be able to do is keep 7 days of backups on my storage drive. Adding this to cron rewrites the same file. I'm not finding how to enable a date feature in cron so that the file would right to /storage/$timestamp-all.

Any thoughts or suggestions?

Also has anyone restored from one of these backups and do we know they work? I've seen some other posts here about problems restoring from the oldstyle backup and just want to make sure.

Thanks
 
Back
Top