Re: correct amrecover and Amazon S3 syntax

2012-05-22 Thread Roberto Pereyra


Thanks Jean-Louis, I''ll try it.

roberto



Re: correct amrecover and Amazon S3 syntax

2012-05-22 Thread Jean-Louis Martineau

On 05/22/2012 10:17 AM, Roberto Pereyra wrote:






You should tell amrecover to use the same changer as when you did the
backup.
Did you defined a changer in amanda.conf?
Jean-Louis

Hello Jean- Louis

Yes, I have this line in amanda.conf:

tpchanger 
"chg-multi:s3:server3-amanda-backups/DailySet2/slot-{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16}"

How I should to define the s3 device ?

s3:server3-amanda-backups/DailySet2


Either you specify the slot you want:
  settape s3:server3-amanda-backups/DailySet2/slot-09

or tell amrecover to use the changer:
  settape  
chg-multi:s3:server3-amanda-backups/DailySet2/slot-{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16}


It is easier to define a changer and use it.

Jean-Louis


Re: correct amrecover and Amazon S3 syntax

2012-05-22 Thread Jean-Louis Martineau

On 05/22/2012 10:17 AM, Roberto Pereyra wrote:






You should tell amrecover to use the same changer as when you did the
backup.
Did you defined a changer in amanda.conf?
Jean-Louis

Hello Jean- Louis

Yes, I have this line in amanda.conf:

tpchanger 
"chg-multi:s3:server3-amanda-backups/DailySet2/slot-{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16}"

How I should to define the s3 device ?

s3:server3-amanda-backups/DailySet2

don't work for me.

roberto


Define a changer (eg. foobar) (in amanda.conf):
   define changer foobar {
   tpchanger 
"chg-multi:s3:server3-amanda-backups/DailySet2/slot-{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16}"

}

Tell amanda to use that changer (in amanda.conf):
   tpchanger foobar

You must tell amrecover to use the "foobar" changer.
setdevice foobar

Jean-Louis



Re: correct amrecover and Amazon S3 syntax

2012-05-22 Thread Roberto Pereyra





>You should tell amrecover to use the same changer as when you did the 
>backup.

>Did you defined a changer in amanda.conf?

>Jean-Louis

Hello Jean- Louis

Yes, I have this line in amanda.conf:

tpchanger 
"chg-multi:s3:server3-amanda-backups/DailySet2/slot-{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16}"
 

How I should to define the s3 device ?

s3:server3-amanda-backups/DailySet2

don't work for me.

roberto



Re: correct amrecover and Amazon S3 syntax

2012-05-22 Thread Jean-Louis Martineau

On 05/22/2012 09:06 AM, Roberto Pereyra wrote:

Hello

I'm testing amazon S3 with amanda.

I just enabled to backup, it's works well.

Now I testing recover data:

I can't define the correct device, can someone help me ?

What is the correct syntax to restore a backup from Amazon S3?

You should tell amrecover to use the same changer as when you did the 
backup.


Did you defined a changer in amanda.conf?

Jean-Louis