librelist archives

« back to archive

Is it possible to scp a specific archive to another host?

Is it possible to scp a specific archive to another host?

From:
Jonathan
Date:
2015-02-27 @ 17:18
When I run `attic list my_repo` I get a long list of archives, e.g.

```
2015-02-21-23:41:00                  Sat Feb 21 23:42:53 2015
2015-02-22-23:00:01                  Sun Feb 22 23:00:02 2015
2015-02-23-23:00:01                  Mon Feb 23 23:00:03 2015
2015-02-24-23:00:01                  Tue Feb 24 23:00:03 2015
2015-02-25-23:00:01                  Wed Feb 25 23:10:22 2015
2015-02-26-19:00:05                  Thu Feb 26 19:16:00 2015
2015-02-26-20:00:01                  Thu Feb 26 20:00:07 2015
2015-02-26-21:00:01                  Thu Feb 26 21:00:06 2015
2015-02-26-22:00:01                  Thu Feb 26 22:00:06 2015
2015-02-26-23:00:01                  Thu Feb 26 23:19:55 2015
2015-02-27-00:00:02                  Fri Feb 27 00:00:08 2015
```

Is it possible to scp a specific archive to another host where I can try
to restore the contents of the archive?

For instance, let's say I want to scp "2015-02-24-23:00:01" is that possible
or do I have to scp the whole `my_repo`?

Thanks.

Re: [attic] Is it possible to scp a specific archive to another host?

From:
Dmitry Astapov
Date:
2015-02-27 @ 20:56
You would need to scp your whole repo, or extract locally and then scp

On Fri, Feb 27, 2015 at 5:18 PM, Jonathan <dev@puppeq.com> wrote:

> When I run `attic list my_repo` I get a long list of archives, e.g.
>
> ```
> 2015-02-21-23:41:00                  Sat Feb 21 23:42:53 2015
> 2015-02-22-23:00:01                  Sun Feb 22 23:00:02 2015
> 2015-02-23-23:00:01                  Mon Feb 23 23:00:03 2015
> 2015-02-24-23:00:01                  Tue Feb 24 23:00:03 2015
> 2015-02-25-23:00:01                  Wed Feb 25 23:10:22 2015
> 2015-02-26-19:00:05                  Thu Feb 26 19:16:00 2015
> 2015-02-26-20:00:01                  Thu Feb 26 20:00:07 2015
> 2015-02-26-21:00:01                  Thu Feb 26 21:00:06 2015
> 2015-02-26-22:00:01                  Thu Feb 26 22:00:06 2015
> 2015-02-26-23:00:01                  Thu Feb 26 23:19:55 2015
> 2015-02-27-00:00:02                  Fri Feb 27 00:00:08 2015
> ```
>
> Is it possible to scp a specific archive to another host where I can try
> to restore the contents of the archive?
>
> For instance, let's say I want to scp "2015-02-24-23:00:01" is that
> possible
> or do I have to scp the whole `my_repo`?
>
> Thanks.
>



-- 
Dmitry Astapov

Re: [attic] Is it possible to scp a specific archive to another host?

From:
Dan Christensen
Date:
2015-02-27 @ 21:13
Or mount the archive using "attic mount ...", and scp/rsync from the
mount point.

Dan

Dmitry Astapov <dastapov@gmail.com> writes:

> You would need to scp your whole repo, or extract locally and then scp
>
> On Fri, Feb 27, 2015 at 5:18 PM, Jonathan <dev@puppeq.com> wrote:
>
>     When I run `attic list my_repo` I get a long list of archives,
>     e.g.
>     
>     ```
>     2015-02-21-23:41:00 Sat Feb 21 23:42:53 2015
>     2015-02-22-23:00:01 Sun Feb 22 23:00:02 2015
>     2015-02-23-23:00:01 Mon Feb 23 23:00:03 2015
>     2015-02-24-23:00:01 Tue Feb 24 23:00:03 2015
>     2015-02-25-23:00:01 Wed Feb 25 23:10:22 2015
>     2015-02-26-19:00:05 Thu Feb 26 19:16:00 2015
>     2015-02-26-20:00:01 Thu Feb 26 20:00:07 2015
>     2015-02-26-21:00:01 Thu Feb 26 21:00:06 2015
>     2015-02-26-22:00:01 Thu Feb 26 22:00:06 2015
>     2015-02-26-23:00:01 Thu Feb 26 23:19:55 2015
>     2015-02-27-00:00:02 Fri Feb 27 00:00:08 2015
>     ```
>     
>     Is it possible to scp a specific archive to another host where I
>     can try
>     to restore the contents of the archive?
>     
>     For instance, let's say I want to scp "2015-02-24-23:00:01" is
>     that possible
>     or do I have to scp the whole `my_repo`?
>     
>     Thanks.