Today, we created a demo account and demo-email accounts for people to try. We then created a backup of the two accounts and the files are in the .gz format. We moved the backup out of the user_backup directory to keep the original contents out of reach from the accounts.
We now want to run a cron that will expand and overwrite the two accounts created on a daily basis.
Any suggestions to best do this? Not sure how to tell a cron to untar the files over the accounts...
We now want to run a cron that will expand and overwrite the two accounts created on a daily basis.
Any suggestions to best do this? Not sure how to tell a cron to untar the files over the accounts...