bizdelnick

joined 2 years ago
[–] bizdelnick@lemmy.ml 5 points 4 months ago

Snapshotting in docker is as easy as docker commit. After that you can back it up with docker save. Then move to another host, but not without downtime.

However normally you need to backup/move only volumes attached to containers. If that's not the way how you like to organize your services, you likely don't need docker.

[–] bizdelnick@lemmy.ml 10 points 4 months ago (12 children)

What's the purpose of running container in a container? Why not install docker on your host machine?

[–] bizdelnick@lemmy.ml 2 points 4 months ago

I meant software RAID of course. Hardware RAIDs just cause headacehes, but fake RAIDs that are built into motherboards are a real nightmare.

[–] bizdelnick@lemmy.ml 0 points 4 months ago (6 children)

Building RAID on top of SSDs is an answer.

[–] bizdelnick@lemmy.ml 5 points 4 months ago

Can you connect with sftp? sftp myname@192.168.68.137

[–] bizdelnick@lemmy.ml 1 points 5 months ago

Paths are constant, only anchors are generated by forgejo.

[–] bizdelnick@lemmy.ml 2 points 5 months ago (2 children)

I didn't test this, but it will change the whole URL while changes are only needed in its fragment component (after the first #).

[–] bizdelnick@lemmy.ml 2 points 5 months ago* (last edited 5 months ago) (1 children)

skip the following substitute command if the line contains an http link in markdown format

Why you assume there's only one link in the line?

Also, you perform substitutions in the whole URL instead only the fragment component.

[–] bizdelnick@lemmy.ml 4 points 5 months ago

Bad advise for sed. regex101 doesn't support POSIX regexes, so you are unable to get the same results as with sed.

[–] bizdelnick@lemmy.ml 2 points 5 months ago

NB: global substitution s///g is not applicable here because you need to perform new substitutions in a substituted text. Both sed regexp syntaxes (basic and extended) don't support lookarounds that could solve this issue.

view more: ‹ prev next ›