This post is more than 5 years old

2 Intern

 • 

181 Posts

3957

April 11th, 2011 03:00

avtar documentation

Hi,

do you know where I can find some documentation for "avtar" command and some examples ?

thank you

266 Posts

April 13th, 2011 08:00

> Is there a method to restore using avtar command a specified backup ?

Yes.

1. ) to list all backups with specific label
avtar --backups --verbose --label=<"Label_Name"> --id= --path=   

2.)  restore ...
avtar --extract --label=<"Label_Name"> --id= --path= --target=<"DESTINATION_TARGET_NAME"> <"FILE_YOU_WANT_TO_RESTORE">

2 Intern

 • 

181 Posts

April 12th, 2011 02:00

I can't figure out how to backup all files from a folder and exclude all subfolders (this folder contain ~ 2 million files)

I could try to create a file containing a list of subfolders and use option :

--exclude-from=FILE, -X, --exclude_from Exclude patterns listed in FILE

but is there in avtar command something like "exclude subfolders" ?

266 Posts

April 12th, 2011 10:00

Screen shot 2011-04-12 at 7.48.06 PM.png

2 Intern

 • 

181 Posts

April 13th, 2011 05:00

Thank you for your answer, I can see for restore I have the option "--no-recursion" but for backup I don't have a similar option.

Is there a method to restore using avtar command a specified backup ?

For example using "avtar --backups ..." I can see a list of backups with specified Seq number.

Date      Time    Seq       Label           Size     Plugin    Working directory         Targets
---------- -------- ----- ----------------- ---------- -------- --------------------- -------------------
2011-04-12 12:44:45    19 Test                   9K Linux    /home/test             /home/test
2011-04-12 12:38:14    18 Test                   5K Linux    /home/test             /home/test
2011-04-12 12:35:56    17 Test                   4K Linux    /home/test             /home/test

Can I restore using avtar the backup with "Seq 17" ? (without using before or after option, just the sequence number)

Thank you!

0 events found

No Events found!

Top