• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How do I add a ariable prefix to a manual backup?

SalvadorS

Regular Pleskian
Hello,

I am working on manual plesk backups. I read I can add a prefix to the backup adding: --prefix=<string>

The question is:

If I add --prefix=<friday> the backup is always called whateverfriday.tar.gz

I want to add a timestamp to every backup I make. If I do one on friday 20th February at 17.15.00

What I have to add as prefix (or suffix) in order to call my backyp whatever100220171500.tar.gz for example?
 
Not sure what do you mean. As you can see there is timestamp by default:

# /usr/local/psa/bin/pleskbackup domains-name domain.tld

# ll /var/lib/psa/dumps/clients/client/domains/domain.tld/
total 208
-rw-r----- 1 root root 11798 Feb 24 15:46 backup_domain.tld_info_1002241546.xml
-rw-r----- 1 root root 322 Feb 24 15:46 backup_domain.tld_mn_1002241546.tgz
-rw-r----- 1 root root 191722 Feb 24 15:46 backup_domain.tld_vhost_1002241546.tgz
 
Hello,

The question is when you do manual backup and leave it on a FTP.

You have to name the file:

perl /usr/local/psa/bin/pleskbackup --domains-name domain.tld --output-file=ftp://xxx.xxx.xxx.xxx/domain.tgz --ftp-login=login --ftp-password=password

If I set this every day, I have only one file call domain.tgz

If I want to have 10, I have to rename manually the file. It is possible to add this file a time stamp?
 
Back
Top