Skip to content

u/Jookia

In this archive from Nov 2010 to Aug 2015

3
posts
29
comments
1
media
143
score

I've written my own manual set of scripts: When I want to back up my entire system (minus a few directories specified in the configuration file) I run 'do-backups' which gives me a prompt for each drive it can back up to and a prompt to turn my machine off when it's done. So I plug in my external hard drive(s) which're then detected then mounted using LUKS (I have to enter my passphrase), then they start to backup. I then set it to shut down once the backups are finished.

It uses tmux and rsnapshot to accomplish all this but you can find the code here:

https://notabug.org/Jookia/dotfiles/src/master/scripts/do-backups

https://notabug.org/Jookia/dotfiles/src/master/scripts/backup

https://notabug.org/Jookia/dotfiles/src/master/scripts/mount-luks

3 points

Yeah, I've been using btrfs on all but my /boot. I haven't had any breakage whatsoever. Once a long time ago it did have a kernel panic and I had to mount it to do an online fsck which showed nothing, which kind of makes since as writes are transactional. I think converting is easily if you have an existing ext4 partition, but as always: MAKE. BACKUPS.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.