BK-BACKUPS(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the bk backups(none) page from the BitKeeper User’s Manual πŸ’– β€” this is your guide to doing backups of BitKeeper repositories. Yes, literally the whole point. Slay.

✨ DESCRIPTION ✨

BitKeeper repositories that have no pending files can be safely backed up with any backup tool, such as tar or dump, etc. 🫢

To see if there are any pending files, run:

bk pending

No output indicates no pending files. That's it. No output = clean vibe check βœ….

⚠️ WARNING ⚠️

Pay attention here, bestie, because this is the main-character warning 🚨. If the repository has pending files β€” files which are checked in but not yet committed to a changeset β€” then saving and restoring the repository should be done carefully.

Problems can arise if the repository is restored multiple times and the same pending deltas are committed to different changesets. In other words, the following will cause problems:

cd REPO
bk edit foo.c
echo "I am a pending delta not yet committed" >> foo.c
bk delta ‐yPENDING foo.c
cd ..
cp ‐r REPO COPY
cd REPO
bk commit
cd ../COPY
bk commit

Why is it a problem? Because the two commits both created a changeset, and the changesets are different. This means that the same delta to foo.c now belongs to two different changesets. It is not fatal when this happens, but it may make it difficult to roll backwards to this point. So like… don't do this casually, okay? 😭

πŸ’‘ SUGGESTION πŸ’‘

If what you want is a copy of the repository, use bk clone to copy it, not tar, cp, or some other file by file copy. That's the move. Periodt. πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

  • bk‐pending
  • bk‐gfiles
  • bk‐status

🌈 CATEGORY 🌈

  • Overview
  • Repository

final footer energy, bestie: this iconic page is brought to you by BitKeeper Inc, version 1E1, and it's the bk backups(none) page β€” the footer keeps it mysterious with no date, and honestly? iconic. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from
  • alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms