Date: Wed, 5 Dec 2018 18:22:46 -0500 From: William Dudley <wfdudley@gmail.com> To: pschmehl_lists@tx.rr.com Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Advice on backups Message-ID: <CAFsnNZ%2BG47M-ArZGHMYxwK=fJX7_bQySQs5kQbYjHc_POYE9ww@mail.gmail.com> In-Reply-To: <BE8953A062425223C2B04E31@Pauls-MacBook-Pro.local> References: <BE8953A062425223C2B04E31@Pauls-MacBook-Pro.local>
next in thread | previous in thread | raw e-mail | index | archive | help
I'd also suggest backing up /usr/local/etc/apache24/sites-available or wherever you keep the conf files that describe each domain you host. Bill Dudley another small-time web host This email is free of malware because I run Linux. On Wed, Dec 5, 2018 at 5:30 PM Paul Schmehl <pschmehl_lists@tx.rr.com> wrote: > I manage a couple of servers on the internet. There are no backup or test > servers, so I have to do everything on live systems that are serving > webpages, handling mail, etc. > > Historically, I've used rsync and ssh to backup server1 to server2 and > vice > versa. I decided I would prefer an offsite backup system in case both > servers failed at the same time, and because server2 was running out of > space because of backups. > > So, I setup some scripts to create gzipped tarballs and transfer those to > my Dropbox account. (I have plenty of space there.) I run the scripts > daily, and the files are named with the date of the backup (e.g. > 120518.websites.tgz) > > On the webserver, I'm backing up /usr/local/www, /etc, and /usr/local/etc. > I've also created a backup directory in my home directory where I put > copies of all the scripts I run, plus a text file of crontab and a few > other things. I then zipped that and copied it to Dropbox as well. I don't > have a script for it, because those things don't change that often. > > Am I missing anything important? I tested untarring one of the tarballs > into my home directory, and if I understand it correctly, I would need to > untar these in / if I ever need to restore anything. > > Paul Schmehl, Retired > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > "There are some ideas so wrong that only a very > intelligent person could believe in them." George Orwell > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZ%2BG47M-ArZGHMYxwK=fJX7_bQySQs5kQbYjHc_POYE9ww>