Skip to content

Tool for backup/restore 389ds servers into s3 bucket

License

Notifications You must be signed in to change notification settings

Symantec/389dsS3Backup

Repository files navigation

389dsbackup

Tool to backup/restore 389ds servers into an encrypted file within an aws bucket.

Requirements

  1. Golang > 1.7
  2. go get ./...

Build

Standard make:

make

make rpm

  1. make tar
  2. rpmbuild -ta $tarball

running

  1. make your own config file backup_config.yml
  2. Run the command:
  • Single backup: backup_ldap singleBackup
  • Restore: backup_ldap singleBackup

Other stuff:

  • You can ask for help by: backup_ldap --help
  • The default location for the configuration file is './backup_config.yml' (can be overriden by command line)
  • you can opt-out of putting some sensitive credentials in the config file and pass them as environment variables.
  • The admin 389 ds password required to to backup will be asked in the command line.

Contributions

Prior to receiving information from any contributor, Symantec requires that all contributors complete, sign, and submit Symantec Personal Contributor Agreement (SPCA). The purpose of the SPCA is to clearly define the terms under which intellectual property has been contributed to the project and thereby allow Symantec to defend the project should there be a legal dispute regarding the software at some future time. A signed SPCA is required to be on file before an individual is given commit privileges to the Symantec open source project. Please note that the privilege to commit to the project is conditional and may be revoked by Symantec.

If you are employed by a corporation, a Symantec Corporate Contributor Agreement (SCCA) is also required before you may contribute to the project. If you are employed by a company, you may have signed an employment agreement that assigns intellectual property ownership in certain of your ideas or code to your company. We require a SCCA to make sure that the intellectual property in your contribution is clearly contributed to the Symantec open source project, even if that intellectual property had previously been assigned by you.

Please complete the SPCA and, if required, the SCCA and return to Symantec at:

Symantec Corporation Legal Department Attention: Product Legal Support Team 350 Ellis Street Mountain View, CA 94043

Please be sure to keep a signed copy for your records.

LICENSE

Copyright 2016 Symantec Corporation.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Tool for backup/restore 389ds servers into s3 bucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published