author

Incremental backup of files and database using PHP!!

I have a shared cpanel hosting account (no ssh/root access) and I want to backup the files and DB incrementally to ftp/sftp. Is there php script that can do this? cPanel backup consumes lot of disk space if I will retain daily backups for more several days to months.

author

jackson96

  • 3 weeks ago

If that is only for your personal use, you can write a simple PHP script that recursively loops through all files, and copy all files that has last modified time within 24 hours to your backup zip

author

vanjajović

  • 3 weeks ago

You can also just use a automatic copy software that connect to the FTP and backup it daily outside from php.

:-)

Comments

You have to Logged in to make Comment!

Login Register
TSK