http://en.wikipedia.org/wiki/Backup_rotation_scheme
Does anyone know of a good script for managing btrfs snapshots for different
frequencies of backups? Something like grandfather-father-son or tower of
hanoi would do.
Here's the long form:
To cover the fumble-fingers case of backups (as opposed to hardware
failure/theft) I want to have automatically managed btrfs snapshots. I was
thinking of something like every 15 minutes for the last 24 hours, every 8
hours for the previous 30 days, and every day for the 100 days before that.
Note that this schedule won't necessarily be the best for me (every 15 minutes
for the last hour would do for me) but I'm dealing with users who won't
necessarily call me quickly when they do the wrong thing and it's probably
best to use the same configuration for everyone.
Anyway this will end up being something like 96+90+100==286 snapshots at any
time. I don't expect btrfs to have any problem handling this as the systems
in question will mostly be used for Chromium, LibreOffice, and email. I expect
that there will be some performance overhead and a definite space overhead, but
nothing that a 120G SSD with a single active user can't cope with.
The problem for me is managing it. I'm sure that I could write my own scripts
to do this, but I'm concerned about bugs. I'd rather use someone else's
script that has been tested and works at least some of the time. ;)
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
Thanks, that sounds like it should do the trick, at least in X.
"Hiddensoul (Mark Clohesy)" <hiddensoul(a)twistedsouls.com> wrote:
>
>
>
>
>On Thu, Dec 6, 2012 at 5:23 PM, Toby Corkindale <tobyc(a)strategicdata.com.au> wrote:
>
>Hi,
>Is anyone aware of an app that will let you type on an Android device's on-screen keyboard and send the keystrokes to a Linux box via an HID device?
>(ie. So X etc sees the input.)
>
>
>Not quite what you want but Valence connects to a PC via VNC, it doesn't display the host PC screen just a keyboard and touch pad, works with any PC Linux, Win or Mac that is running a VNC server, market link is
>
>
>https://play.google.com/store/apps/details?id=com.cafbit.valence
>
>
>It is what I use at home to drive a debian machine when I am kicking back watching movies etc and use it as a remote control
>
>
>hope that helps you out
>
>
>
>Mark "Pockets" Clohesy
>
>Mob Phone: (+61) 406 417 877
>Email: hiddensoul(a)twistedsouls.com
>G-Talk: mark.clohesy(a)gmail.com
>-
>GNU/Linux..
>
>Linux Counter #457297
>
>"I would love to change the world, but they won't give me the source code"
>
>"Linux is user friendly...its just selective about who its friends are"
>
>"Never underestimate the bandwidth of a V8 station wagon full of tapes hurtling down the highway"
>
>"The difference between e-mail and regular mail is that computers handle e-mail, and computers never decide to come to work one day and shoot all the other computers"
>
>
>
>
Hi,
My postfix-fu is failing me on this one. I am trying to set up postfix
so that it only delivers to local users. The local users can exist in
/etc/aliases or in the ldap-aliases postmap. However, the resolved
email addresses in ldap can be from many different domains so I cannot
filter by domain. All non-deliverable mail should either be discarded
(via the postfix discard agent) or sent to a catch-all devnull address
(e.g. devnull: /dev/null in /etc/aliases)
I previously had this working with sendmail but I cannot seem to
replicate this with postfix. I have tried transport maps
/etc/postfix/transport
domain.tld local:
* discard:
but this discards the ldap-resolved recipient address if it is outside
the domain domain.tld (which most are).
I have also tried with e.g. luser_relay = devnull@localhost without luck.
Any other ideas?
Thanks,
Marcus.
--
Marcus Furlong
Hi folks,
I'm doing a talk on Tuesday night but my laptop only has HDMI out, which
means I can't connect it to VGA only projectors without an active converter.
Does anyone have such a HDMI->VGA converter that they can bring along
please?
If not I'll have the talk on a USB stick just in case.. ;-)
cheers,
Chris
--
Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
On Thu, Nov 22, 2012 at 12:15 AM, Daniel Dalton <d.dalton(a)iinet.net.au>wrote:
>
> I'm running debian testing with gnome 3.4.
>
> The first time I start my GUI on a particular boot be it at boot up via
> gdm, invoking the gdm init script manually by hand after logging into
> the console or by using startx it takes an incredibly long time for the
> gnome-shell to load and become ready.
>
Yeah Gnome-shell is not quick at startup, but nowhere that slow. I'm
running Gnome 3.6 in Ubuntu 12.10 and it does take longer to load (more
than Unity and KDE 4.9) but not by a large margin.
> I have auto-log in enabled and it takes about 50-60 seconds from the point
> I start gdm or startx until the gui is ready to use.
> I'm using a core I5 2.4 GHZ machine with 4 GB of ram so there is a bit
> of power.
>
Are you using a machanical hard disk? If yes, that has much more to do with
the speed of loading things than your CPU and RAM. Throw in a SSD in there
and you'll be amazed by the difference. On my 3.5 year old Phenom II box
but with a SSD, gdm + gnome-shell barely take 15 seconds to completely
load.
Cheers
--
Aryan
# ntpq
ntpq> lpeer
remote refid st t when poll reach delay offset jitter
==============================================================================
foo 98.143.152.5 3 - 83d 1024 0 47.125 4.906 0.000
10.1.2.3 116.66.160.39 3 - 83d 1024 0 50.747 -2.829 0.000
resolv.internod 210.9.192.50 2 - 83d 1024 0 29.030 -3.233 0.000
The NTP server in my home stopped working, the above is what I saw when I
queried it. Why would this happen?
I don't think it was non-functional for 83 days, but then I don't generally
check it that often and the system had 98 days of uptime.
I've just rebooted it (so debugging the process state won't be possible).
There was a new kernel to install.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/