skip to Main Content

We’re working on a project that will be on local and we wanna make a daily backup and we wanna it to be on hosting or server.

Thanks

2

Answers


  1. Using mysql you can run mysqldump -u root -h localhost -pmypassword database | gzip -9 > database-db.sql.gz.

    Pre-install locally or on the server sudo apt-get install mysql-client

    if you are using cloud services like s3s3-backups

    Login or Signup to reply.
  2. This Laravel package creates a backup of your application. The backup is a zip file that contains all files in the directories you specify along with a dump of your database. The backup can be stored on any of the filesystems you have configured in Laravel like Amazon S3. You can also install third-party drivers that are compatible with Laravel Filesystem or create your own. You can clean up old backups and schedule the tasks on a daily basis for the backup to be done.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search