How to do a complete backup ?

Seems that that automatic backup from within Upsource doesn't backup Cassandra at all,
what is the suggested way for doing a complete backup?

is it best to stop Upsource and copy the data/ dir ?

5 comments

Hi Gal,

That's correct, we do not backup Cassandra at all since the folder size can grow up to 30-40X from your repository size. The second reason is that all data stored in Cassandra folder can be recovered from your VCS.

0

are reviews/comments/... stored in Cassandra or are they being backupd with the internal backup option ?
is there a reason to backup Cassandra at all ?

0

Hi,

Reviews/comments/etc are stored in Cassandra, too.
Out 'backup" procedure extracts this data from DB for the sake of
  1) Backup size
  2) Ability to patch the files for some reasons

Backing up the entire database data folder produces a far larger backup size, but the restore will be lightning fast, since Upsource will not have to re-import the VCS

0

so persisting the "backups" dir is enough for complete restore ?

0

Please sign in to leave a comment.