<div dir="ltr">Actually, when I started this thread I was looking into using S3 instead of EFS, because it's way cheaper. S3 didn't work because it wanted to edit files. Then I switched to EFS. <div><br></div><div>However, with this hybrid setup, keeping everything but the ./data folder on the local disk and the ./data folder on S3 does actually work...at least so far...it's creating block files in ./data. That's further than it got before. I'm thinking the hybrid approach with s3 mounted via RIOFS might be the way to go. </div><div><br></div><div>Best,<br>Dave</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 14, 2017 at 11:44 AM, Thomas Waldmann <span dir="ltr"><<a href="mailto:tw@waldmann-edv.de" target="_blank">tw@waldmann-edv.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> symlink /usr/local/borg/data to /mnt/efs_borg/data. That way all data<br>
> is on the EFS share and the other index-related stuff is on the local drive.<br>
<br>
</span>Please note that for "repokey" encryption mode (default), the file<br>
containing the key (<repo>/config) is, in your case, on your local disk.<br>
<br>
For recovery, you must have the passphrase and the key, so be careful to<br>
have a backup (see borg key ...).<br>
<span class=""><br>
> I back up /mnt/efs_prod and then I back up everything in /usr/local/borg<br>
> and exclude /usr/local/borg/data. Then, for easy restores, I tar<br>
> everything in /usr/local/borg except data and copy that tar file to<br>
> /mnt/efs_borg/.<br>
<br>
</span>Ah, ok, then you have the config (key) in there.<br>
<span class=""><br>
> This seems to work great. Any thoughts, concerns, etc, about using it<br>
> like this with the index files local and the data folder remote?<br>
<br>
</span>As long as the filesystems work as they should and you can always<br>
recover data, key and passphrase, this seems ok.<br>
<span class=""><br>
> Can I rebuild an index from just the data folder on NFS?<br>
<br>
</span>All caches and index files can be rebuilt from repo/data.<br>
It may take a while though, depending on repo size.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
<br>
GPG ID: 9F88FB52FAF7B393<br>
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393<br>
<br>
______________________________<wbr>_________________<br>
Borgbackup mailing list<br>
<a href="mailto:Borgbackup@python.org">Borgbackup@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/borgbackup" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/borgbackup</a><br>
</div></div></blockquote></div><br></div>