[ / / / / / / / / / / / / / ] [ dir / agatha2 / arepa / general / htg / leftpol / spank / vichan / zoo ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): cae11fc54acf304⋯.jpeg (107.74 KB, 500x335, 100:67, serveimage.jpeg) (h) (u)

[–]

 No.989271>>989273 >>989275 >>989396 >>989426 >>989432 >>998478 >>1000034 [Watch Thread][Show All Posts]

How does /tech/ back up their Chinese girl cartoons? I had been using Time Machine on the Mac, which worked with no questions asked, but I'm looking for something less gay now.

What I am looking for is an automated solution which will back up my files to a local hard drive that's plugged into my computer. Also, should I back up the entire machine or just my home directory? I think the home directory should be sufficient because the system itself can be just rebuilt by installing the packages again.

I would also like to have several versions of my files, so I can restore some file I deleted last week even if I have already made a new hourly backup. And of course the backup needs to be encrypted or otherwise protected somehow. Really important things like GPG keys or passwords would need to be stored somewhere off-site in addition to the local backup.

What are my options? Is there something you guys are using? Should I roll my own thing with rsync? And just to be clear, I want the functionality, I don't care about the stupid space animations of Time Machine.

 No.989273>>989275 >>989397 >>989473

>>989271 (OP)

Your home directory is probably full of dumping ground trash because users are the lowest of faggots.

I use Borg. There's an exclude file option and I use that to ignore a chunk of crap.


 No.989275>>989473

>>989271 (OP)

>>989273

>deduplication, encryption, automation

borg indeed

/thread


 No.989298

>Time Machine

Is just a worse rsync. Everything Apple does seems to be crap, glad I don't have to deal with it all the time.

If for some reason rsync is not enough for your needs, take a look at borg.


 No.989322>>989339

>borg

I always just use rsync. Does borg do anything special?


 No.989339>>989352

>>989322

snapshots, dedup and encryption.


 No.989352>>989359 >>989379 >>989382

>>989339

All of these can be done with less bloat by choosing an appropriate FS on the backup machine.


 No.989359>>989370

>>989352

>less bloat

>entire FS

lol


 No.989370

>>989359

Are you retarded? Something like ZFS (as bloated as it is, which is a lot) is better than your Python bloatware, especially since you need a FS anyway.


 No.989372>>989473

rdiff-backup. All other software I tried was just too shitty, the downside is rdiff-backup takes forever for large files.


 No.989379>>989380 >>989381 >>989438

>>989352

Nigga what? A filesystem will not save you from disk failure. That's why you make snapshots and store them in different disks.


 No.989380>>989384

>>989379

ZFS can replicate the data on different disks.


 No.989381>>989384 >>989466 >>989532

>>989379

>What is RAID


 No.989382

>>989352

Choosing an exotic FS is going to bite you in the ass when you go to restore backups and find out that the tools for said FS have been discontinued and no longer work.


 No.989384>>989386 >>989432

>>989380

>>989381

ZFS is a meme and RAID isn't a filesystem.


 No.989386

>>989384

>RAIDZ is not part of ZFS

>and ZFS is bad because I don't understand

How about you give your hardware to someone that is not mentally handicapped


 No.989396>>989452

File (hide): 0b378bb625a626f⋯.jpg (29.08 KB, 900x900, 1:1, freenas.jpg) (h) (u)

>>989271 (OP)

Build a server, install FreeNAS, create a ZFS volume, set up SMB and accounts, then configure on the end devices to auto backup using the credentials for the accounts you just made. Set and forget.


 No.989397

>>989273

>exclude file option

so like .gitignore then?


 No.989426>>998478

>>989271 (OP)

>How does /tech/ back up their Chinese girl cartoons

bittorrent


 No.989432

>>989271 (OP)

rsync or tar.

or dump and restore ;^)

>>989384

>ZFS is a meme

this.


 No.989438

>>989379

Did you read the post I replied to?

>snapshots, dedup and encryption.

Didn't mention backup, you're supposed to ZFS or btrfs on the backup machine.


 No.989452

>>989396

at least this guy is funny


 No.989466>>989472 >>989532

>>989381

>use RAID

>PSU explodes

>takes out every hard drive

ok


 No.989472>>989532

>>989466

>PSU explodes

What chink shit are you buying?


 No.989473

>>989275

>>989273

Thanks, I'll give Bork a look.

>>989372

I'll keep this one in the back of my mind if Borg doesn't do the trick.


 No.989532>>989534

File (hide): 15e59b295141d18⋯.jpg (36.48 KB, 600x315, 40:21, 2kn8d3.jpg) (h) (u)


 No.989534>>989546 >>989722 >>989906

>>989532

You don't rely on the array as backup, it's just an extra precaution

Backup your RAIDs


 No.989546

>>989534

no shit, sherlock


 No.989722

>>989534

If your collection of bootleg hentai is worth the investment for you, yes


 No.989724>>990747

I'm trying to make an rsync script that backs up a directory full of other directories with files and sub directories to multiple external drives. Currently I have something like

 rsync -avP --delete-before --include "E*" --include "F*" --include "G*"  --include "H*" --include "I*" --include "J*" --include "k*" --exclude "*" /mnt/source/ /mnt/backup/E-K/
But the include filters apply to all files and subdir, where I just want then to apply to /mnt/source/. Can this be done?


 No.989906>>990739

>>989534

>Backup your RAIDs

Which brings us back to OP's question.


 No.990739

>>989906

That's offline backup, which is a completely different question from OP's.


 No.990747

>>989724

1) I don't want to think about your problem.

2) Use --dry-run and test a lot.

3) You might have to generate the --include option list dynamically (I doubt it, though).


 No.990768

I'm a normie-tier user so I just backup to a separate LUKS encrypted HDD every week or two. Not as good as a continual backup or an off-site but at least the HDD resides in a fire resistant safe. It's convenient to me and it's better than no backup.


#!/bin/bash

DRYRUN=--dry-run
if [ "${1}" = "--really" ]; then
dialog --yesno "Run for real?" 0 0 || exit
unset DRYRUN
else
echo DRY RUN
fi

cat <<EOL |
+ .config/***
+ .emacs
+ .emacs.d/***
+ .local/***
+ .mozilla/***
+ .ssh/***
- .vim/undo/
+ .vim/***
+ .vimrc
+ .xinitrc
+ .zshrc
+ bin/***
+ Documents/***
+ Music/***
+ Pictures/***
+ Videos/***
+ src/***
- *
EOL

rsync -avP ${DRYRUN} --delete-excluded --one-file-system --include-from=- ${HOME}/ ./active-backup/


 No.998407

No one has mentioned dar in this whole thread?

>Sorry, it arrived, your old disk has crashed. OK, you are happy because you have now a good argument to buy the very fast and very enormous very lastest hard disk available. Usually, you also cry because you have lost data and you will have to reinstall all your system, that was working so well and for so long!


 No.998478

>>989271 (OP)

>>989426

What this guy said. Upload it, sharing is caring.


 No.998518

Rsync and zfs if you have the space to waste with slightly inferior compression

tar and 7z if you want maximum compression but sacrifice stability


 No.999935

pipe viewer


 No.1000034

>>989271 (OP)

rsync obviously




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
38 replies | 2 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / agatha2 / arepa / general / htg / leftpol / spank / vichan / zoo ][ watchlist ]