Re: Backup question

2014-03-19 Thread Cameron Simpson
On 18Mar2014 22:58, Garry T. Williams wrote: > On 3-19-14 08:42:20 Cameron Simpson wrote: > > mount | awk '$5 ~ /^(xfs|ext2|ext3)$/ { print $1 }' > > I think you meant `print $3'. Yes. Brain off. Sorry. -- Cameron Simpson -- users mailing list users@lists.fedoraproject.org To unsubscribe

Re: Backup question

2014-03-19 Thread Suvayu Ali
Hi, On Wed, Mar 19, 2014 at 08:42:20AM +1100, Cameron Simpson wrote: > On 16Mar2014 15:56, CS DBA wrote: > > where would I find a complete list of the completely dynamic top > > level directories? > > You shouldn't care that they're top level, only which ones are the > right type. > > Like this

Re: Backup question

2014-03-18 Thread Garry T. Williams
On 3-19-14 08:42:20 Cameron Simpson wrote: > mount | awk '$5 ~ /^(xfs|ext2|ext3)$/ { print $1 }' I think you meant `print $3'. -- Garry T. Williams -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/lis

Re: Backup question

2014-03-18 Thread Cameron Simpson
On 16Mar2014 15:56, CS DBA wrote: > where would I find a complete list of the completely dynamic top > level directories? You shouldn't care that they're top level, only which ones are the right type. Like this: mount | awk '$5 ~ /^(xfs|ext2|ext3)$/ { print $1 }' So in a script: mount

Re: Backup question

2014-03-16 Thread Matthew Miller
On Sun, Mar 16, 2014 at 03:56:18PM -0600, CS DBA wrote: > where would I find a complete list of the completely dynamic top > level directories? These days, there are quite a few special filesystems mounted on a running Linux system, but /proc and /sys are likely to be the only *top level* ones, pl

Re: Backup question

2014-03-16 Thread CS DBA
On 3/16/14, 12:33 PM, Matthew Miller wrote: On Sun, Mar 16, 2014 at 12:29:16PM -0600, CS DBA wrote: I have an rsync script to backup my entire system each time before I run updates, as versions come & go I try and keep up with which top level directories to backup knowing that some like /proc ar

Re: Backup question

2014-03-16 Thread Heinz Diehl
On 16.03.2014, CS DBA wrote: > Here's my question: If I simply backup all directories (including ones like > /proc & /media, etc) will the following work, or do I need to care about > specifically excluding the virtual directories? I would run any backup/restore of the root filesystem only when

Re: Backup question

2014-03-16 Thread Matthew Miller
On Sun, Mar 16, 2014 at 12:29:16PM -0600, CS DBA wrote: > I have an rsync script to backup my entire system each time before I > run updates, as versions come & go I try and keep up with which top > level directories to backup knowing that some like /proc are > virtual... > Here's my question: If

Backup question

2014-03-16 Thread CS DBA
Hi All; I have an rsync script to backup my entire system each time before I run updates, as versions come & go I try and keep up with which top level directories to backup knowing that some like /proc are virtual... Here's my question: If I simply backup all directories (including ones lik