
Location:
BuildForge Home Dir – Platform
To display command syntax, use bfexport with no options.
$ ./bfexport
Usage: bfexport -l
or:
bfexport [-c comment] [-f filename] [-g] [-s] [-L] [-n] <Project name or UUID> <Version name>
Options :
-l: Lists all projects in the system and their project UUID.
-c : Add a comment to the output XML.
-f : File to write the output to.
-g : Include group users.
-s : Include all servers.
-C : Include servers collectors (requires -s).
-L : Include LDAP configuration.
-n : Include template notifications.
Project must be a valid project name or project UUID.
Example
To list the project names and project IDs that are stored in the Build Forge database, use
> bfexport -l
To send project data to an XML file,
> bfexport -f <file_name>. You must specify the -f <file_name> option to generate a file that can be used to import project data.
To write output to a file, use the -f <file_name> option. In the following example, helloworld is the output file name and the project ID is used instead of the project name.
> bfexport -c “Saving a copy of project before making changes” -f helloworld 675B57CC-8366-11DD-B2E0-043C04E44E1A
To export the default project snapshot only, use the <project_name>.
> bfexport -f helloworld test_project
To export one snapshot of a project, use the <project_name> <snapshot_name>.
> bfexport -f helloworld test_project snapshot_1
If the parent project snapshot is not the default project, you must specify the <project_name> followed by the parent keyword to export the parent project snapshot.
> bfexport -f helloworld test_project parent Document
./bfexport -c “Saving a copy of project before making changes” -C -s -f Citius-Coverity-Full-parent 6d66e5050c5a1000bcd5cd010bc00bc0
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals