Hi there,
As a reseller, I want to use my own SFTP server at home to backup the users' files and databases. My hosting provider disabled the feature to backup via a cron job in DirectAdmin itself. So I would like to write a PHP script myself that creates a tar ball of every user, including their files and databases –*just like the built in backup feature.
Now, here is my question: How can I access the user accounts from a PHP script running under the reseller account? Is that possible? If not, what are the alternatives?
Many thanks in advance for your help!
As a reseller, I want to use my own SFTP server at home to backup the users' files and databases. My hosting provider disabled the feature to backup via a cron job in DirectAdmin itself. So I would like to write a PHP script myself that creates a tar ball of every user, including their files and databases –*just like the built in backup feature.
Now, here is my question: How can I access the user accounts from a PHP script running under the reseller account? Is that possible? If not, what are the alternatives?
Many thanks in advance for your help!