Remix.run Logo
maalhamdan 6 hours ago

I think they shouldn't back up git objects individually because git handles the versioning information. Just compress the .git folder itself and back it up as a single unit.

willis936 6 hours ago | parent | next [-]

Better yet, include dedpulication, incremental versioning, verification, and encryption. Wait, that's borg / restic.

This is a joke, but honestly anyone here shouldn't be directly backing up their filesystems and should instead be using the right tool for the job. You'll make the world a more efficient place, have more robust and quicker to recover backups, and save some money along the way.

pkaeding 6 hours ago | parent | prev [-]

This is a good point, but you might expect them to back up untracked and modified files in the backup, along with everything else on your filesystem.

pixl97 4 hours ago | parent [-]

Eh, you really shouldn't do that for any kind of file that acts like a (an impromptu) database. This is how you get corruption. Especially when change information can be split across more than one file.

pkaeding 2 hours ago | parent [-]

Sorry, what are you saying shouldn't be done? Backing up untracked/modified files in a bit repo? Or compressing the .git folder and backing it up as a unit?