1 |
Am Samstag, 3. Februar 2018, 18:34:11 CET schrieb Helmut Jarausch: |
2 |
> On 02/03/2018 04:11:33 PM, Marc Joliet wrote: |
3 |
> > Am Samstag, 3. Februar 2018, 10:50:53 CET schrieb Helmut Jarausch: |
4 |
> > > On 02/03/2018 06:54:06 AM, Dale wrote: |
5 |
> > > > While on this topic, I have a question about glibc. I have it |
6 |
> > |
7 |
> > set in |
8 |
> > |
9 |
> > > > make.conf to save the binary packages. Generally I use it when I |
10 |
> > |
11 |
> > need |
12 |
> > |
13 |
> > > > to go back shortly after a upgrade, usually Firefox or something. |
14 |
> > > > However, this package is different since going back a version |
15 |
> > |
16 |
> > isn't a |
17 |
> > |
18 |
> > > > good idea. My question tho, what if one does go back a version |
19 |
> > |
20 |
> > using |
21 |
> > |
22 |
> > > > those saved binary packages? Has anyone ever did it and it work |
23 |
> > |
24 |
> > or |
25 |
> > |
26 |
> > > > did |
27 |
> > > > it and it fail miserably? |
28 |
> > > |
29 |
> > > I've tried to binary emerge my previous version. This didn't succeed |
30 |
> > > since |
31 |
> > > the ebuild disallows downgrading glibc. |
32 |
> > > |
33 |
> > > Luckily I had backuped my system just 20 hours ago. |
34 |
> > |
35 |
> > Having up-to-date backups is always good :) . |
36 |
> > |
37 |
> > > Does anybody know how to restore ONLY those files which are |
38 |
> > > more recent on the target file system. |
39 |
> > > (My whole back is 124 Gb large which is a lot to copy back) |
40 |
> > |
41 |
> > If you can access the backups like a normal file system, then using |
42 |
> > rsync with |
43 |
> > the --update option looks to me like what you want: |
44 |
> > |
45 |
> > "-u, --update skip files that are newer on the |
46 |
> > receiver". |
47 |
> |
48 |
> High Marc, |
49 |
> I think I need the opposite : |
50 |
> only update files which are newer on the receiver |
51 |
|
52 |
Ah, sorry, I misread that (in your case it wouldn't make any sense, either). |
53 |
Although in that case, shouldn't normal rsync do what you want? It won't |
54 |
update files that haven't changed since the backup (determined by default by |
55 |
comparing file size and mtime, see rsync(1)). |
56 |
|
57 |
> Thanks, |
58 |
> Helmut |
59 |
|
60 |
HTH |
61 |
-- |
62 |
Marc Joliet |
63 |
-- |
64 |
"People who think they know everything really annoy those of us who know we |
65 |
don't" - Bjarne Stroustrup |