From owner-freebsd-questions@freebsd.org Wed Dec 5 23:23:13 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 571C3132A30F for ; Wed, 5 Dec 2018 23:23:13 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6CB236FC2C for ; Wed, 5 Dec 2018 23:23:12 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-yb1-xb2d.google.com with SMTP id w203so5810087ybg.3 for ; Wed, 05 Dec 2018 15:23:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vyEe18+d4BPjiJZaJWwcsKd4fwnN+HpQNp2wmps0Mds=; b=MMBxOv60TtyD/frsAcLNOI4IorrENKi7eXxQO4G7vrAgBDgAgIT3dmYufU1BHsuk1Y DMEhTnKxAIC0BlokAIietDYfeGOY1qvxBW0B2k3BMAev/pi5gMuyee450C6uvO27PEWY faFdu49GyONBF1+U8DpuSijZIcq10JyV2PpIApgzxIrDynnHdXdDBIjdz0jVHbiLgCPF lzFPCUrCTJyegb4zGuDfXoC/Ht8tFnFvcu1f/BTE/r7cT6fdT9+cYMvq+EJl7ZOVEj+F TNvsjbdni72ViyFJC2//By4vAWS1/SOoC/Oc/76Z9wkeAZ2QJvz+e8ie+jE5V20iAr7p 5pPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vyEe18+d4BPjiJZaJWwcsKd4fwnN+HpQNp2wmps0Mds=; b=KlljBlZGqIAXgqBUCPF5F7G0WdDm7uXVILQKRN10BKc9FXJUgxLNiOATQsUd2lDDDT mmSYOGoirFw5xDXR/oAefQH8S9yk+LPTJXSRQH+dcIfkBhSzTyG69+GSChp+/2cRH/Ue cgCPTLf5XzkwgPPgpfwCk23iS2MqgpyQRz6KvKFMwANBlPZBX+t07JF/QhE11oCYP8TT mqyOtkrMd7Ts1lL3PbqODBQXaNsO5VhRA4BbXR9R61RhBZh6hpN7S6Unwdx38F6yuN25 GOkpWundaXMV9VnUzYBHv2b5t0Odim/EDNz/R8mxtLpR84eqgQrjBLk2lD8P90s4USpR bVQg== X-Gm-Message-State: AA+aEWY8nrk7TNCzp9LsSqzNw0fGFdCFYy5DBBXiWuKE33sIYWN8arTK R9Sc5Mqf5zDgaIqunqDtrY7FD0mp3V9q0U5lgNLd3g== X-Google-Smtp-Source: AFSGD/VwWX6s1tmfBGl6iiv7s29pEYLb8Ba8a9ljG71P7oEZ8NGS7iu/8yzDqxTzlJZoBt5SNE2xvaPXiAK/HM1BqgQ= X-Received: by 2002:a25:3005:: with SMTP id w5-v6mr25636270ybw.365.1544052191754; Wed, 05 Dec 2018 15:23:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: William Dudley Date: Wed, 5 Dec 2018 18:22:46 -0500 Message-ID: Subject: Re: Advice on backups To: pschmehl_lists@tx.rr.com Cc: freebsd-questions X-Rspamd-Queue-Id: 6CB236FC2C X-Spamd-Result: default: False [-4.57 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[d.2.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(-0.59)[ipnet: 2607:f8b0::/32(-1.54), asn: 15169(-1.30), country: US(-0.09)]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 23:23:13 -0000 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 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" >