From owner-freebsd-questions@freebsd.org Thu Dec 6 02:51:05 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 1344F1332012 for ; Thu, 6 Dec 2018 02:51:05 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 E928177C04 for ; Thu, 6 Dec 2018 02:51:03 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by mail-wm1-x333.google.com with SMTP id y139so15189401wmc.5 for ; Wed, 05 Dec 2018 18:51:03 -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=j3GaqArIIou3aF+lUGR6wMg0d0pUAsaT+IkjKvTW7ms=; b=jBxXwIAgqmSMGPYVr6CR9w0StxOmH4wCr7NQnZiLDYhwu6nN1XlHx3/pZDOb/GH7rZ RWK89gioKfpwctOFM3lAU28Ai7xaT+PPQ7FUZ7wUMxyGOoJybK6o3pFhK1Gb5C4CF8NA xJlW0jiCqCU6qpTaJmYyFgQsmsjFqvICDdFfSQmubvVDMdAujkErjdAI/u9acfxIPaie d/XaFEwpHDPjzjXF97j+Y/6x+yed/ZYCCcblTMznfAAF25RWfOj62n6HK21HDfofNMMq zQ/uOVDERo3PMdyzf92VRVDtq0UycgsBGc7A6wE3wr/QyJT89YZkNhO26ROu48ZgFtWW HiYw== 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=j3GaqArIIou3aF+lUGR6wMg0d0pUAsaT+IkjKvTW7ms=; b=qov/nbhEb3xcPf3AcFiuHZx++cJxQHV76udcDnHkMgierOwNf8L9y+77aqs4UQj3eE /musbJDjftUjFk8JRHL5RKlaKHA0TaXwHxrhijM2eQqyH2cqwChimIDY4+5tPqLuUX+S X303+NtA8S2F8xTt9SqHO1U7SnaU1Z44YWSqgQD8kSFDf/cQKj47TqiaN+eUf04ELw8M ET/nNO22LAucm1u3WB1Gjn5vnilvSyXPHN+QqiG7vZDIliPi6rLEyqm3trK1sQYmJ+t7 CXK1xIiQopYfmzYM5LVIXCefycwG2zgD0sTvZ5io52p6nBa7VQnrtdyKBw3l8bOYJSpZ cLYA== X-Gm-Message-State: AA+aEWZzWzI1arjedjAjz3obORFuDN7Wp/nRJ+CzzBIQDkaYeVQ+tccy Cn0JD5vuMQN3rCJ3Xg7LUcs6DdAucvkSacwIoEo= X-Google-Smtp-Source: AFSGD/WdOM5ji3blFdQMt29pbT7D/lTm0WpYyo81iVjRAo1vjn7vFHoh6CK0GAOCM5+edZq91eUQc2arfHJ5Az33CzM= X-Received: by 2002:a1c:8acd:: with SMTP id m196mr8989849wmd.120.1544064662725; Wed, 05 Dec 2018 18:51:02 -0800 (PST) MIME-Version: 1.0 References: <20181206025602.8843eb11.freebsd@edvax.de> In-Reply-To: <20181206025602.8843eb11.freebsd@edvax.de> From: Outback Dingo Date: Thu, 6 Dec 2018 09:50:25 +0700 Message-ID: Subject: Re: Advice on backups To: freebsd@edvax.de Cc: pschmehl_lists@tx.rr.com, freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: E928177C04 X-Spamd-Result: default: False [-6.41 / 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)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.40)[ip: (-9.10), ipnet: 2a00:1450::/32(-1.52), asn: 15169(-1.31), country: US(-0.09)]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; 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: Thu, 06 Dec 2018 02:51:05 -0000 On Thu, Dec 6, 2018 at 9:38 AM Polytropon wrote: > > On Wed, 05 Dec 2018 16:29:28 -0600, Paul Schmehl wrote: > > 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) > > [...] > > 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. > > A little suggestion that originates from ye olden times > when CVS was common: > > Create a repository for your configuration files, use > directory structures and "common" for the individual > hosts. Keep track of changes you might appy. Make > backups of the CVS directory tree, typically as a > (compressed) tarball. With this method, you can > quickly access any host's configuration from any > (revision) date you need, and CVS commit messages > might help you find what you need, e. g., the reason > why you changed something. And if you deleted your > working copy accidentally, it's no problem to check > out a new instance from the CVS repository. > > Today, people of course use Subversion or probably > Git, on GitHub... ;-) > > > > > 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. > > Make sure tar archives restore _all_ file and directory > properties as they are present in the source. The advantage > of a tar archive is that you can also obtain _selected_ > parts from the archive, if you don't need the whole one. > > For an exact 1:1 copy of filesystem content, I still > suggest using dump + restore. Those can also be used > comfortably via SSH. It is neccessary to pay attention > to dumping from live filesystems, i. e, those which are > in a r/w state (and not r/o or unmounted). See "man dump" > and "man restore" for details. :-) > > have you tried restic for backups ? its quite nice and featureful https://restic.net/ > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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"