Welcome! » Log In » Create A New Profile

keep a backup forever

Posted by Anonymous User 
Anonymous User
keep a backup forever
January 30, 2018 11:59AM
I feel like I've asked this before, but I can't find any emails.
I can't believe this isn't an FAQ. Or rather, there is an FAQ, but the
answer is (a) very sparse and (b) doesn't really answer the question.

I had a machine. That machine was getting regular backups. The machine
died. I have replaced it with a new machine. So having had this
emergency, I now want to keep, in perpetuity, my last full backup of
the now-dead machine.

The FAQ says to create separate backups, which I guess would have been
useful advice had I known in advance that the machine was going to die.

I have virtual tapes set up on a large disk. I'm not sure if that
matters.

The backup in question is on (virtual) tape number 17. So let's say
I take the approparite files that are in my /storage/amanda/vtapes/slot17
directory and copy them somewhere safe. Six months go by, my real
slot17 gets reused, and I take those old files and copy them into slot44.

What is my next step? How do I get those backups back into my amanda
index so that I can amrecover from them? Is that what amreindex does?
Is that what amrestore does?

Thanks.

--EbH
This message was imported via the External PhorumMail Module
Charles Curley
Re: keep a backup forever
January 30, 2018 12:59PM
On Tue, 30 Jan 2018 14:29:24 -0500
hymie@lactose.homelinux.net wrote:

> So having had this
> emergency, I now want to keep, in perpetuity, my last full backup of
> the now-dead machine.

You may prefer to grab the last full backups and any subsequent partial
backups, so that you have a snapshot of the system as of the last
backup.

This sounds like a job for amvault. I have not used it, but others may
pitch in with advice.

--

A great civilization is not conquered from without until it has
destroyed itself within. The essential causes of Rome's decline lay in
her people, her morals, her class struggle, her failing trade, her
bureaucratic despotism, her stifling taxes, her consuming wars.

-- Will and Ariel Durant, III The Story of Civilization (1944) epilogue
This message was imported via the External PhorumMail Module
ghe
Re: keep a backup forever
January 30, 2018 02:59PM
On 01/30/2018 12:29 PM, hymie@lactose.homelinux.net wrote:
> I feel like I've asked this before, but I can't find any emails.
> I can't believe this isn't an FAQ. Or rather, there is an FAQ, but the
> answer is (a) very sparse and (b) doesn't really answer the question.
>
> I had a machine. That machine was getting regular backups. The machine
> died. I have replaced it with a new machine. So having had this
> emergency, I now want to keep, in perpetuity, my last full backup of
> the now-dead machine.

How big was the dead disk? Do you have space to store the whole thing?

Did amanda do a level 0 of the whole dead disk to 17? If not, there are
very likely pieces of that disk on several of your virtual tapes.
amrestore deals with all that.

> The backup in question is on (virtual) tape number 17. So let's say
> I take the approparite files that are in my /storage/amanda/vtapes/slot17
> directory and copy them somewhere safe. Six months go by, my real
> slot17 gets reused, and I take those old files and copy them into slot44.
>
> What is my next step? How do I get those backups back into my amanda
> index so that I can amrecover from them? Is that what amreindex does?
> Is that what amrestore does?

What I'd do is recover the last files amanda backed up from that disk,
using amrestore. I'd restore to a disk, consider that the perpetual
backup, and not try to get that old disk data anywhere in amanmda's
database -- amanda is very much oriented to reusing things in a cycle,
and trying to get her to change her ways can be difficult.

amrestore's a pleasant piece of software to use. You just tell it the
date you want to restore, the disk, the files, and some other things (I
use it infrequently, and I have to read the man page every time).
amrestore figures out which tapes you need, and restores the data.

Then you can do what you want with them -- burn to optical, buy a new
disk, whatever.

--
Glenn English
This message was imported via the External PhorumMail Module
Austin S. Hemmelgarn
Re: keep a backup forever
January 31, 2018 04:59AM
On 2018-01-30 17:18, ghe wrote:
> On 01/30/2018 12:29 PM, hymie@lactose.homelinux.net wrote:
>> I feel like I've asked this before, but I can't find any emails.
>> I can't believe this isn't an FAQ. Or rather, there is an FAQ, but the
>> answer is (a) very sparse and (b) doesn't really answer the question.
>>
>> I had a machine. That machine was getting regular backups. The machine
>> died. I have replaced it with a new machine. So having had this
>> emergency, I now want to keep, in perpetuity, my last full backup of
>> the now-dead machine.
>
> How big was the dead disk? Do you have space to store the whole thing?
>
> Did amanda do a level 0 of the whole dead disk to 17? If not, there are
> very likely pieces of that disk on several of your virtual tapes.
> amrestore deals with all that.
>
>> The backup in question is on (virtual) tape number 17. So let's say
>> I take the approparite files that are in my /storage/amanda/vtapes/slot17
>> directory and copy them somewhere safe. Six months go by, my real
>> slot17 gets reused, and I take those old files and copy them into slot44.
>>
>> What is my next step? How do I get those backups back into my amanda
>> index so that I can amrecover from them? Is that what amreindex does?
>> Is that what amrestore does?
>
> What I'd do is recover the last files amanda backed up from that disk,
> using amrestore. I'd restore to a disk, consider that the perpetual
> backup, and not try to get that old disk data anywhere in amanmda's
> database -- amanda is very much oriented to reusing things in a cycle,
> and trying to get her to change her ways can be difficult.
>
> amrestore's a pleasant piece of software to use. You just tell it the
> date you want to restore, the disk, the files, and some other things (I
> use it infrequently, and I have to read the man page every time).
> amrestore figures out which tapes you need, and restores the data.
>
> Then you can do what you want with them -- burn to optical, buy a new
> disk, whatever.
>
I would suggest the same approach myself. In fact, that's pretty much
what we do where I work. Whenever we permanently decomission a system,
it gets pulled from the backup rotation, and we image the disk and store
the disk image in archival storage that's separate from the storage we
use for regular backups. Our procedure is similar for a failed disk we
don't plan to replace, except instead of imaging it as-is, we rebuild it
from backups and then image it (the imaging procedure was the norm
before we switched to amanda, so it's just kind of stuck around).
This message was imported via the External PhorumMail Module
Sorry, only registered users may post in this forum.

Click here to login