Backup boot SD card ( without unused space )
Hi,
I would like to backup the booted SDcard of my Raspberry pi.
I don't necessary need to backup as a hot backup[^1] So I can remove the SDcard and make the backup on another machine.
with `dd`
bash $ fdisk -l Disk /dev/sda: 29.72 GiB ..... .... Device /dev/sda1 ... /dev/sda1 ...
So I first tried:
bash $ dd bs=4M if=/dev/sda conv=fsync status=progress | gzip > /path/path/foobar.gz
But this create a huge .gz file ! because it backup the unused space too
:'(
If you know a ~simple command to just backup the used space I'm all ears.
with rpi-clone
I've discovered rpi-clone
Seem really great, too bad the github tab discussion has been not activated :/ and If the documentation is not clear enough, no way to ask the community.
EDIT: Actually it seem that it clone a SD to a full dest drive ! so not as destination file correct ??
in the README you can read: > rpi-clone-setup is for setting the hostname in /etc/hostname and /etc/hosts files.
> It is run automatically by rpi-clone if -s args are given, but before your first clone using a -s option, test run rpi-clone-setup with:
> rpi-clone-setup -t testhostname
So what is the purpose of the -s
argument ? If you want to set another hostname into the destination backup ? why can we set fews ? Can we have few hostname for a same machine ???
and the -t
argument is not even documented (if I'm not mistaken ..)
- Did you ever tried
rpi-clone
? - what's your 2cent about it ?
- does
rpi-clone sda
promt you to confirm the destination ? - do know some thing else ?
- is it possible to output the backup as a file ?
\ Thanks.
[^1]:Backup that can be taken while the system is running.
Thank you @IsoKiero@sopuli.xyz !
This is the solution.
unfortunately I can't apply it, because the NAS is a closed proprietary 💩
Use Rsync Daemon with SSH !?
Hi,
I need to setup a Rsync server to backup a 😡 NAS.
So I want to run it under SSH.
man rsync
> Also note that the rsync daemon protocol does not currently provide any encryption of the data that is transferred over the connection. Only authentication is provided. Use ssh as the transport if you want encryption.
but when I do rsync --config=/etc/rsyncd.conf --rsh=ssh --dry-run
\
I get:
> rsync: --rsh=ssh: unknown option (in daemon mode)
So there no way to specify that rsync daemon should run under ssh ?
Also is this following A.I statement is correct ? > The rsyncd.conf file is only used when the rsync daemon is running on the remote host and the client connects to the daemon directly, without using an SSH connection.
So there is no way with Rsync (under ssh) to set settings (config file or other) that will apply to all clients !!??\ So it's the client that configure rsync and the server !? there is no way around ?!
MP4 container part, solved --> https://lemmy.ml/post/22627660
OK, I made work the mp4
container
So in all my trial , I have introduce en error in the video path /path/path/FooBar.mp4
as those test where taking place under Windows this time, the front /
was making the file unreachable, "funny" in the console no error about that, but about codec that is not found..... O_o
MP4
it worked with
...
<source src="path/FooBar.mp4" type="video/mp4">
...
<!-- so without specifying the codec, at least -->
MKV
I've tried everything so far, I didn't managed to make it work :/
so it seem that finally Firefox do not support MKV
with AV1
ffmpeg -i FooBar.mkv
Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv, bt709, progressive).....
Thanks @Malix@sopuli.xyz ,
by any change I've tried codecs="avc1.4d401f"
with my videos but of course it's not working.
Whats drive me crazy, is when open trough file:///
Firefox can play it, but once inside an html page, you have to specify the right codec !? WTF
btw:
when I open .mp4 container version of it, by file path (url bar) like file:///X:/path/FooBar.mp4 it works, so Firefox can Open it… (now still to make it work inside an html page )
for .mkv it trigger a file download…
btw:
when I open .mp4 container version of it, by file path (url bar) like file:///X:/path/FooBar.mp4 it works, so Firefox can Open it… (now still to make it work inside an html page )
for .mkv it trigger a file download…
Funny when I open .mp4 container version of it, by file path (url bar)
like file:///X:/path/FooBar.mp4
it works, so Firefox can Open it.... (now still to make it work inside an html page 😑 )
for .mkv it trigger a file download...
Thank you @taaz@biglemmowski.win no matter the type I enter, it's still not working...
btw the videos on your link are encoded H264
with , not AV1
Codec: H264 - MPEG-4 AVC (part 10) (avc1)
Thank you BananaTrifleViolin,
I've tried all your solutions, none works.
Yes they are AV1 (I have encoded them)
Codec: AOMedia's AV1 Video (av01)
Color primaries: ITU-R BT.709
(audio): Codec: MPEG AAC Audio (mp4a)\
\
... So much for Web standards! ...
Couldn't agree more
I think you can also drag and drop video into Firefox to see if they will play.
no, this initiated a download :/
How use AV1 video with Firefox ??
cross-posted from: https://lemmy.ml/post/22627659
> Hi,
>
> I have a couples of AV1 videos that I would like to display on a html page.
>
> I've tried
>
> html > <video controls preload="none"> > <source src="FooBar.mp4"> > </video> >
>
> but it trow back \
> !
>
> I've tried first with MKV container as it's listed on the wikipedia page.
>
> but this is not listed on the mozilla page https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs 🤔
>
> Confusing.. as I found also this in the firefox release note:
> > Firefox 97 and later versions support AV1 video in the MKV container.
>
> So WTF !?
>
> I've tried also
> html > <video controls preload="none"> > <source src="FooBar.mp4" type="video/webm; codecs='av01.0.08M.08'"> > </video> >
> but that change nothing...
>
> Any ideas ?
>
> Thanks.
How use av1 video with Firefox ??
cross-posted from: https://lemmy.ml/post/22627659
> Hi,
>
> I have a couples of AV1 videos that I would like to display on a html page.
>
> I've tried
>
> html > <video controls preload="none"> > <source src="FooBar.mp4"> > </video> >
>
> but it trow back \
> !
>
> I've tried first with MKV container as it's listed on the wikipedia page.
>
> but this is not listed on the mozilla page https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs 🤔
>
> Confusing.. as I found also this in the firefox release note:
> > Firefox 97 and later versions support AV1 video in the MKV container.
>
> So WTF !?
>
> I've tried also
> html > <video controls preload="none"> > <source src="FooBar.mp4" type="video/webm; codecs='av01.0.08M.08'"> > </video> >
> but that change nothing...
>
> Any ideas ?
>
> Thanks.
@MrJameGumb@lemmy.world No you were right at first ! the question is
When they cross each other, which one is the closet to the earth ?
So indeed when they cross they are the same point in space (more or less otherwise it's a collision :) ) so if they are at the same point the are at the same distance to Earth... :)
FYI great information about dual sim hardware type --> https://en.wikipedia.org/wiki/Dual_SIM#Types
Need help with simple math problem.
Hi,
I found online a nice (and seemed easy) math problem.
> Rocket A travel from Mars to Earth in 200 days\ > Rocket B travel from Earth to Mars in 150 days, but take off 30 days later\ >\ > When they cross each other, which one is the closet to the earth ?
So they give a "flat" answer, without giving any explanation on how they reach this conclusion.
What would be your simplest Mathematical solution for this ?
Thanks.
Features of Dual sim on Android ?
Hi,
I've been looking info on how work (features available etc..) Dual sim on android . But all the websites talking about it trow back
https://stallman.org/cloudflare.html
Does someone have an URL that is not censored "protected" by cloudflare ?
Thanks.
This question might have been already asked ?
Sorry if this question might have been asked.. But it seem Lemmy of search option, like search within a community and by title only....
it works !
Weirdly you just need to be patient ! even with the Same Wi-Fi network
O_o
Can't connect with the latest version (1.5.10)
Hi,
I've just downloaded and installed the version 1.5.10 unfortunately
Neither trough TOR
or Same Wi-Fi network
I can connect :/
( The icon stay orange )
I'm using also AFwall+ but all my other app (may be I need to allow something else (in core
or system
??)
Too bad The Briar project don't have a forum or better use Lemmy yet...
Where found Li-po battery in west europe ?
cross-posted from: https://lemmy.ml/post/12024688
> Hi, > > I'm looking for a Li-po battery : > 3.7V 90mAh > > ! > > In my country there isn't anymore an electronic shop that can sell it at a reasonable prices.. (taxes etc..) > > On Aliexpress I can found them at ~2€ but the postal fee do not make it worth-it.. (~10€) > > I travel a lot in Europe (west) so may-be you know still IRL shops where I can buy them ? > > Thanks.