hackbrazerzkidai.blogg.se

Jottacloud delete backup
Jottacloud delete backup






jottacloud delete backup

rclone lsd gdrive: to see if it is configured correctly. Follow the steps, verify your google drive, and complete the setup.Choose 13 to select Google Drive as our Cloud Storage (you can choose other Storages from the list).Create a New Remote (in our case it is named gdrive).- Location of your root flarum (This will even backup vendor dir, we will include this as it takes less than 50 megabytes).- run pwd in your terminal to get the server username.copy update_backup.sh to flarum_backup directory and edit the following.

jottacloud delete backup

copy rclone file to our flarum_backup directory.Create a Directory flarum_backup on your server (e.g /home/HOSTINGUSERNAME/flarum_backup).type d -mtime +2 -exec rm -rf \ 2>&1 & echo "Directory older than 2 days Deleted !!" home//flarum_backup/rclone copy ~/flarum_backup/$NAMEDATE "gdrive:Flarum Backup/$NAMEDATE"Ĭd ~/flarum_backup find.

jottacloud delete backup

Tar czf ~/flarum_backup/$NAMEDATE/ ~/ & echo "Server Files Dumped"Ĭhmod -R 0644 ~/flarum_backup/$NAMEDATE/* & echo "Directory Permission Restored" Mysqldump -u -p"" | gzip > ~/flarum_backup/$NAMEDATE/db.sql.gz & echo "Database Dumped" Mkdir ~/flarum_backup/$NAMEDATE -m 0755 & echo "Directory Created" NAMEDATE=`date +%F_%H-%M_%s`_`whoami` & echo $NAMEDATE

  • and delete the rest of the backups on our server which are older than 2 Days.
  • we will push this backup to our Cloud using rclone.
  • zipped database & flarum folder will be stored in the newly created folder.
  • a directory with the current date and time will be created.
  • Union merges the contents of several upstream fsĬlick Here to see the list of Cloud Storages we can upload our Backups to Make Sure to Create a Backup of your Server before tryingĢnd last line in the script is dangerous if you don't point it to the correct directory 📸 Screenshots OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH) Google Cloud Storage (this is not Google Drive) This is a script to push a backup of your Flarum Instance to Cloud Storage using rcloneīUT you can even use this for WordPress and all other forums ☁ Cloud Storages 1FichierĪmazon S3 Compliant Storage Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc) This tool will automatically backup any websites, forums etc from your server (e.g Shared Hosting) to your favourite Cloud Storage backup-flarum








    Jottacloud delete backup