Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old Today, 03:09 AM   #1
mrmister
Confirmed User
 
Industry Role:
Join Date: Jan 2015
Posts: 895
How do you handle backups on self managed servers?

Hi all

Do you guys upload it to another server via a cron script or do you download it locally?
mrmister is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 03:35 AM   #2
SevY
Confirmed User
 
SevY's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: Italy
Posts: 62
Depends on the project/content

Code:
I always have one or more git repos for my code

SQL:
Standard shell script with weekly/daily/hourly cron triggering and upload to Google Drive.

Static:
Depending on the size I use to backup all the static content by zipping small files and direct downloading big ones, all done by shell scripting. Again if the size is reasonable I use online backup space, otherwise I backup on my local Synology NAS and I mirror it on BackBlaze B2.

Despite all of this there are projects I simply don't back-up since they aren't worth the effort.
__________________
Senior Developer, System Administrator and Cloud Architect
Hiring Live Cam Performers
Ready to Jump in the New Era of Porn?
SevY is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 08:05 AM   #3
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,171
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
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
server, script, locally, download, cron, guys, backups, handle, managed, servers, upload



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.