BK-BACKUPS(1)
π 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βpendingbkβgfilesbkβ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
- Copyright (c) 1998-2015 BitKeeper Inc
- Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms