Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4834

Advanced users • Re: Image File Utilities

$
0
0
Using dd is undesirable because it allocates storage blocks and takes considerable time to write zeroes into them.

Using truncate, storage blocks aren't allocated until needed (sparse allocation) and is instantaneous.
Yes. truncate is the right way to go. I used dd just to check whether in general it's possible to create an image on the router.

@Andreas S.

If you have connected your NAS to a WLAN power switch (Tasmota et al) and know how to write scripts in bash you can turn or your NAS from your Raspberry, wait for the NAS to be up and running, create a backup and finally shutdown the NAS again. Or if you have your NAS up and running every day from let's say 8 am to 9 pm then schedule the backup in this timeframe.

As @redvli already wrote: A router's task is to handle networking but not storage.

Statistics: Posted by framp — Sat Aug 17, 2024 7:00 pm



Viewing all articles
Browse latest Browse all 4834

Trending Articles