|
Guides All Guides and HOWTO's. |
|
Thread Tools | Display Modes |
|
|||
Easily retrievable configuration file backup with Gmail
Shortly after I accepted an invitation for a Gmail account, (thank you Joost), I found it very easy to send configuration files to my account.
A simple command from the command line to mail me a backup of my pf.conf file: Code:
# mail -s 'Parmenides: pf.conf' g.w.bush@gmail.com </etc/pf.conf There are two requirements:
Real life example Yesterday the following BAK mail saved me a lot of trouble when I installed a new OpenBSD snapshot, and wanted to preserve my original disklabel layout: Code:
Charlie Root to me show details Jan 17 Filesystem Size Used Avail Capacity Mounted on /dev/wd0a 61.4M 32.0M 26.3M 55% / /dev/wd0m 6.5G 2.8G 3.4G 44% /backup /dev/wd0e 19.7G 2.8G 15.9G 15% /home/j65nko /dev/wd0d 502M 2.0K 477M 0% /tmp /dev/wd0k 3.9G 418M 3.3G 11% /usr /dev/wd0l 3.9G 210K 3.7G 0% /usr/local /dev/wd0f 1005M 3.0M 952M 0% /var /dev/wd0h 502M 122K 477M 0% /var/log /dev/wd0g 502M 4.0K 477M 0% /var/tmp
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump Last edited by J65nko; 9th February 2010 at 04:19 AM. Reason: Changed pietjepuk to g.w.bush as the example gmail account |
|
|||
It's been possible to sign up on your own for some time now, no invitation required.
Perhaps I'm slow, but is 'pietjepuk' your or someone elses email? If not.. I don't get the reference. |
|
|||
"Pietje Puk" is the Dutch equivalent of John Doe. I just changed it to "g.w.bush' your favorite politician.
BTW "g.w.bush' is an invalid gmail account because gmail only allows one period in the account name, which is discriminates Dutch, Flemish and German nationals. People from these countries would like to use names like 'don.van.vliet', 'piet.van.geraertsberghen" and 'herbert.von.karajan' but gmail does not allow it.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
But I'm Canadian!
Also, they allow hyphens and underscores in place of periods.. so I guess that's something. |
|
||||
Now I'm wondering if the Canadian translation of "Pietje Puk" is Peter Puck ?
|
|
|||
No, AFAIK we use the John & Jane Doe analogy.
|
Tags |
backup |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Taking your sed(1) skills beyond the easily swallowed 's/x/y/' porridge | J65nko | Guides | 5 | 3rd February 2010 08:23 PM |
PHP read file contents - Maximum file size | cksraj | Programming | 1 | 21st September 2009 11:38 AM |
backup freeBSD 7.0 using Backup Exec | ccc | FreeBSD General | 2 | 25th April 2009 09:23 PM |
backup drive to image file | milo974 | OpenBSD General | 8 | 14th August 2008 02:01 PM |
Kernel configuration file ignored? | FWS | FreeBSD Installation and Upgrading | 16 | 26th June 2008 10:28 AM |