View Single Post
Old 05-17-2024, 08:05 AM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,178
Quote:
Originally Posted by mrmister View Post
Hi all

Do you guys upload it to another server via a cron script or do you download it locally?
Depends really on what you are backing up, how much data and how often it changes.

On our dev server what I do is every day create Monday.tar.gz, Tuesday.tar.gz, etc and upload it to an s3 storage overwriting the previous day so I have a 7 day rolling backup.

On a client's cam site where there's lots of financial transactions we do a dump every 3 hours and upload similarly with a 7 day rolling backup.

If I was running a paysite i'd backup the videos/thumbs incrimentally separately from the code and db.

In some cases it's cheaper to get a cheap machine from OVH and backup to that plus then you always have a "spare server" in case shit hits the fan and you need to get something back up quickly.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote