Aar
Verified User
Hello,
I have the code below here (for a cron) to make a backup of alle domains, and copy this by FTP.
It works great!
However, now i'm looking for a option for exclude a domain. Is there an option availiable for this?
I have the code below here (for a cron) to make a backup of alle domains, and copy this by FTP.
It works great!
However, now i'm looking for a option for exclude a domain. Is there an option availiable for this?
Code:
#!/bin/sh
datum=`date +%u`;
`echo "action=backup&ftp_ip=xxx.xxx.xxx.xxx&ftp_username=**username**&ftp_password=**password**=&ftp_path=/$datum/&owner=admin&type=admin&value=multiple&when=now&where=ftp&who=all" >> /usr/local/directadmin/data/task.queue`