I have followed this link to backup and restore.Export has been done successfully and also restore but unable to see the data in bit bucket after restore.
"AM NOT USING DATABASE"
BACKUP:
[root@ip-12345 bit bucket-backup-client-3.4.0]# java -jar /home/user/bit bucket-backup-client-3.4.0/bit bucket-backup-client.jar
2018-12-05 11:03:05,084 INFO Initialising
2018-12-05 11:03:06,420 INFO Using Bit bucket 5.16.0
2018-12-05 11:03:06,483 INFO Contacting Bit bucket
2018-12-05 11:03:06,649 INFO Bit bucket has been locked for maintenance. It may be unlocked with token: f
2018-12-05 11:03:06,806 INFO Starting database backup on Bit bucket. It may be cancelled with token: $number$
2018-12-05 11:03:11,327 INFO (50%) Now scanning /var/at/application-data/bit bucket
2018-12-05 11:03:11,460 INFO (50%) Verifying files in Bit bucket home "/var/at/application-data/bit bucket"
2018-12-05 11:03:11,471 INFO (50%) Verifying Bit bucket home
2018-12-05 11:03:11,555 INFO (50%) Backing up Bit bucket home
2018-12-05 11:03:11,824 INFO (50%) Waiting on Bit bucket database backup to complete
2018-12-05 11:03:16,248 INFO (100%) Bit bucket has completed backing up the database
2018-12-05 11:03:16,249 INFO (100%) Downloading database backup zip from Bit bucket
2018-12-05 11:03:16,306 INFO (100%) Backup complete: /home/user/backups/bit bucket-20181205-110316-305.tar
2018-12-05 11:03:16,309 INFO (100%) Unlocking Bit bucket using token: $number$
2018-12-05 11:03:16,334 INFO (100%) Total backup time: 10.07 s
RESTORE:
[root@ip-172-31-0-14 bitbucket-backup-client-3.4.0]# java -Dbitbucket.home="/var/atlassian/application-data/bitbucket/restore/" -jar bitbucket-restore-client.jar /home/ec2-user/backups/bitbucket-20181203-124431-905.tar
INFO 5/12/18 11:10 AM: liquibase: Successfully released change log lock
2018-12-05 11:10:58,926 INFO Restoring ActiveObjects data
2018-12-05 11:10:59,045 INFO Restoring ActiveObjects table definitions
2018-12-05 11:10:59,113 INFO Restoring ActiveObjects table data
2018-12-05 11:10:59,247 INFO Cleaning up
But i didn't got any data which was deleted after backup.
Please try to solve this.
Thanks
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.