From owner-freebsd-questions@freebsd.org Wed Dec 5 22:44:48 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED9481329648 for ; Wed, 5 Dec 2018 22:44:47 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id DD6BC6E9A2 for ; Wed, 5 Dec 2018 22:44:46 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) by kicp.uchicago.edu (Postfix) with ESMTP id E1651718049 for ; Wed, 5 Dec 2018 16:44:40 -0600 (CST) Subject: Re: Advice on backups To: freebsd-questions@freebsd.org References: From: Valeri Galtsev Message-ID: Date: Wed, 5 Dec 2018 16:44:40 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: DD6BC6E9A2 X-Spamd-Result: default: False [-2.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.897,0]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.71)[-0.714,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MX_GOOD(-0.01)[kicp.uchicago.edu,cosmo.uchicago.edu]; NEURAL_HAM_SHORT(-0.57)[-0.566,0]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-0.02)[country: US(-0.09)]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 22:44:48 -0000 On 12/5/18 4:29 PM, Paul Schmehl 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. I used bacula for quite long, and recently I'm gradually switching to bacula's fork: bareos. I really recommend bareos (or bacula), it is real backup, open source, enterprise level quality, etc... And yes, I did have to recover stuff, including versions on particular date etc. I hope, this helps. Valeri > > 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" -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++