Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Best way to backup content and DB

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
rtarson
Posts: 13
Joined: Sun Oct 14, 2018 1:03 am

Os: Ubuntu 16x
Web: apache + nginx
Best way to backup content and DB
  • Quote

Post by rtarson » Fri Nov 16, 2018 2:27 pm

I wanted to see if anyone has a good way method of backing up both website contents and database files to aws s3?
Top

isaac
Posts: 8
Joined: Thu Aug 13, 2015 7:33 pm

Re: Best way to backup content and DB
  • Quote

Post by isaac » Wed Nov 21, 2018 3:06 pm

Restic seems to be my best option

Ubuntu:

Code: Select all

apt install restic

export AWS_ACCESS_KEY_ID="########"
export AWS_SECRET_ACCESS_KEY="########"

restic -r s3:s3.amazonaws.com/BUCKET init
restic -r s3:s3.amazonaws.com/BUCKET backup /home --exclude /home/backup

restic -r s3:s3.amazonaws.com/BUCKET snapshots
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password