|
From: Brad A. <st...@gm...> - 2011-08-26 11:00:35
|
On Thu, Aug 25, 2011 at 2:40 PM, Carl Wilhelm Soderstrom < ch...@re...> wrote: > > The suggestion of not using a sharename for restores starting from the > root; > perhaps could be restated as something like " '/' characters shall be > converted to '_' characters except for the leftmost one, which shall be > omitted". this would end up omitting the sharename (or path or whatever it > ends up being) if it's just '/'. > > > hostname_20110824_Full.tar or hostname_20110824_etc_home.zip (assuming > the > > restore is /etc and /home)...The only problem with that is the name can > get > > long and tedious. Suggestions on that? > > > This may be a case where empirical testing serves better than theoretical > wrangling. Let's see if long filenames actually occur and cause problems; > and how drastic the solutions to them need to be. > Good point. I was thinking about a box I rebuilt this week. Before I rebuilt it, I saved /root, /home and /etc. So my potential filename would have been akagi_20110823_etc_home_root.tar, which would be manageable, but you could see how it could get out of hand rather quickly...especially if you are preserving, say, /usr/local/bin versus /usr/bin... --b |