View Single Post
  #6   (View Single Post)  
Old 10th January 2016
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,132
Default

@ldOp, yes Your Honor, I plead guilty
Code:
$ sudo rsync -aviH -n  /var/ /Template/ | head -10 
sending incremental file list
.d..t...... ./
cd+++++++++ account/
cd+++++++++ audit/
cd+++++++++ authpf/
cd+++++++++ backups/
>f+++++++++ backups/device.backup
>f+++++++++ backups/device.current
>f+++++++++ backups/disklabel.sd0.backup
>f+++++++++ backups/disklabel.sd0.current
$ sudo rsync -aviH -n  /var/ /Template | head -10   
sending incremental file list
.d..t...... ./
cd+++++++++ account/
cd+++++++++ audit/
cd+++++++++ authpf/
cd+++++++++ backups/
>f+++++++++ backups/device.backup
>f+++++++++ backups/device.current
>f+++++++++ backups/disklabel.sd0.backup
>f+++++++++ backups/disklabel.sd0.current
As you stated correctly, /var without a trailing "/" works:
Code:
 $ sudo rsync -aviH -n  /var  /Template/ | head -10  
sending incremental file list
cd+++++++++ var/
cd+++++++++ var/account/
cd+++++++++ var/audit/
cd+++++++++ var/authpf/
cd+++++++++ var/backups/
>f+++++++++ var/backups/device.backup
>f+++++++++ var/backups/device.current
>f+++++++++ var/backups/disklabel.sd0.backup
>f+++++++++ var/backups/disklabel.sd0.current
According to the script(1) log this is also what I used.
My defense: "Significant other" was already complaining why I still was at the computer, when we were supposed to be leaving for Eindhoven ....

This also shows the importance of "peer review" , I suppose
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote