You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by "Krawetzky, Peter J" <Kr...@aetna.com.INVALID> on 2019/11/18 14:50:05 UTC

Backup Question on Version 2.2.0

I know the document recommendation is to use replication for backups but I want to make sure I provide a recovery solution in case someone totally deletes a document or data within a document by accident and I can recover that.  Replication doesn't provide for this situation.

The documentation references backing up .couch files but my implementation doesn't have those.  All of my database files are broken up under the shards directory.  I have no single point of  a database name based on the documentation reference.  Do I just copy the shards directory now?

Any advice would be great.



CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.



Proprietary

NOTICE TO RECIPIENT OF INFORMATION:
This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
Thank you. Aetna

RE: Re: Re: Re: Backup Question on Version 2.2.0

Posted by "Krawetzky, Peter J" <Kr...@aetna.com.INVALID>.
Got it, thanks.

Makes sense now because the indexes are in the default location.  I'll move them over to the database location under a new directory.

Appreciate the quick response.



CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.


Proprietary

-----Original Message-----
From: Jan Lehnardt <ja...@apache.org> 
Sent: Monday, November 18, 2019 10:32 AM
To: user@couchdb.apache.org
Subject: [EXTERNAL] Re: Re: Re: Backup Question on Version 2.2.0

**** External Email - Use Caution ****

curl https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.0.1-3A5984_-5Fnode_-5Flocal_-5Fconfig_couchdb_view-5Findex-5Fdir&d=DwIFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=oJKlpQ8LCwLAuYH23h6O4x9dYZMx9qaR_4n_JENU87g&s=WUGSfzZh95S8oMnpnRvXb0_uwTHZCYgOSCKnGqmZ-js&e= 

> On 18. Nov 2019, at 16:26, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
> 
> I have views but I don't find that sub-directory you mentioned in my directory tree.  What is the default of view_index_dir?
> 
> 
> 
> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
> 
> 
> Proprietary
> 
> -----Original Message-----
> From: Jan Lehnardt <ja...@apache.org>
> Sent: Monday, November 18, 2019 10:21 AM
> To: user@couchdb.apache.org
> Subject: [EXTERNAL] Re: Re: Backup Question on Version 2.2.0
> 
> **** External Email - Use Caution ****
> 
> That looks all normal. Your database dir is /u1/couchdb and you have a /u1/couchdb/shards dir, that’s where all your couch files live, separated by one more dir level that represents the shard range.
> 
> The .shards dir exists in the view_index_dir (not database_dir) 
> configuration, and it includes all view indexes. if you don’t have any 
> views at all, you might not have a .shards dir. If you have views, 
> your view indexes live in view_index_dir/.shards
> 
> Best
> Jan
> —
> 
>> On 18. Nov 2019, at 16:18, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
>> 
>> Thanks and that is the document I'm referencing which is confusing me.  I don't have a data/.shards directory.  Here is my structure.  Take note that databases in my shards directory do no appear under the database_dir location specified in my local.ini file.
>> 
>> $ cd /u01/couchdb
>> $ ls -al
>> total 592
>> drwxr-xr-x  4 couchdb couchdb    233 Oct 31  2018 .
>> drwxr-xr-x  4 root    root        43 Oct 15  2018 ..
>> -rw-r--r--  1 couchdb couchdb 106703 Oct 31  2018 build_queue.couch
>> -rw-r--r--  1 couchdb couchdb  82111 Feb 14  2019 _dbs.couch
>> drwxr-xr-x  2 couchdb couchdb      6 Nov 18 10:09 .delete
>> -rw-r--r--  1 couchdb couchdb 118960 Oct 31  2018 dev.couch
>> -rw-r--r--  1 couchdb couchdb  45260 Oct 31  2018 hieradb.couch
>> -rw-r--r--  1 couchdb couchdb   4272 Oct 15  2018 _nodes.couch
>> -rw-r--r--  1 couchdb couchdb  73901 Oct 31  2018 prod.couch
>> -rw-r--r--  1 couchdb couchdb  16582 Oct 31  2018 qa.couch
>> -rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _replicator.couch
>> drwxr-xr-x 10 couchdb couchdb    206 Oct 15  2018 shards
>> -rw-r--r--  1 couchdb couchdb 110765 Oct 31  2018 test.couch
>> -rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _users.couch
>> 
>> In my /opt/couchdb/etc/local.ini file I have:
>> database_dir = /u01/couchdb
>> 
>> When I list all of the shards sub-directories I see all of my databases:
>> $ pwd
>> /u01/couchdb/shards
>> $ ls -alR
>> .:
>> total 32
>> drwxr-xr-x 10 couchdb couchdb  206 Oct 12  2018 .
>> drwxr-xr-x  4 couchdb couchdb  297 Jun 20 11:39 ..
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:13 00000000-1fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:11 20000000-3fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 40000000-5fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 60000000-7fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:08 80000000-9fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Nov  5 14:05 a0000000-bfffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 31 11:21 c0000000-dfffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:05 e0000000-ffffffff
>> 
>> ./00000000-1fffffff:
>> total 4448
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:13 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   90310 Jul  9 08:46 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb   28864 Jul  9 08:51 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   45244 Oct 28 15:13 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  118982 Sep 16 09:34 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  749759 Oct 31 11:23 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  931192 Nov 18 10:16 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   90310 Nov  5 13:42 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   20671 Nov  1  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb   28823 Oct 30 10:33 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   73919 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  192709 Oct 28 15:12 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   37068 Oct 28 15:12 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb   24774 Jul  9 09:03 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   41142 Nov 13  2018 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb 1922235 Nov 18 10:15 
>> _users.1539344313.couch
>> 
>> ./20000000-3fffffff:
>> total 2888
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:11 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   32959 Oct 24 14:13 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   16572 Oct 24 13:15 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   16582 Jul  9 09:12 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  114885 Aug 21 16:14 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb    8346 Jul  9 09:23 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   53439 Nov  3 00:39 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   49343 Oct 23  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb   37047 Jul  9 09:04 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  237772 Oct 28 15:11 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   98501 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1974277 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   32959 Feb 26  2019 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb    8371 Oct 12  2018 _users.1539344313.couch
>> 
>> ./40000000-5fffffff:
>> total 2020
>> drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:10 .
>> drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb  53436 Jul  9 07:39 
>> build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb  20669 Jul  9 08:50 
>> cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb  57532 Oct 30 10:33 
>> _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb 127167 Sep  4 14:55 
>> hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb  28851 Jul  9 09:00 
>> hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  32965 Jul  9 09:12 
>> iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 
>> iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb 937934 Nov 18 10:15 
>> iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb 114879 Jul  9 09:01 
>> iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb  90303 Nov 13  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb  32919 Oct 30 10:33 
>> labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb  37062 Jul  9 09:02 
>> labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb  53436 Jul  9 09:03 
>> metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb 188613 Oct 28 15:10 
>> metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb  98501 Oct 28 14:04 
>> metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb  45207 Jul  2 20:57 
>> metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 
>> pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb  24767 Jul  9 09:01 
>> _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  12470 Oct 12  2018 
>> _users.1539344313.couch
>> 
>> ./60000000-7fffffff:
>> total 3760
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:10 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   61631 Jul  9 07:39 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   37052 Oct 28 15:10 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   41158 Sep 16 09:34 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   49306 Jul  9 09:00 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  102598 Oct 31 11:24 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   20634 Jul  9 09:01 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  939231 Nov 18 10:14 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   41111 Nov  5 13:43 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   37055 Nov 12  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb   20631 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  229580 Oct 28 15:09 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:09 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1976032 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   61628 Jul  9 09:02 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   16566 Feb 27  2019 _users.1539344313.couch
>> 
>> ./80000000-9fffffff:
>> total 2024
>> drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:08 .
>> drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb  32966 Oct 24 13:15 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb  49337 Jun 14 08:27 
>> _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  53439 Jul  9 08:59 
>> hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb  41107 Mar 21  2019 
>> hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb 159935 Sep 28 03:19 
>> iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 
>> iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb 939249 Nov 18 10:15 
>> iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb  78015 Jul  9 09:01 
>> iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb  20678 Oct 30  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb  20656 Jul  9 09:01 
>> labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb 118982 Oct 30 10:33 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb 143557 Oct 28 15:08 
>> metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb 118975 Oct 28 14:04 
>> metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb  94396 Jul  9 09:02 
>> metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 
>> pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb  61628 Jul  9 09:23 
>> _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  16566 Feb 27  2019 
>> _users.1539344313.couch
>> 
>> ./a0000000-bfffffff:
>> total 4124
>> drwxr-xr-x  2 couchdb couchdb    4096 Nov  5 14:05 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   24771 Oct 24 13:15 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb   32959 Jul  9 08:50 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   20668 Nov  5 14:05 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   61631 Sep 16 09:34 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  364741 Aug 12 03:39 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  940104 Nov 18 10:16 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   61631 Nov  5 13:42 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   69823 Nov 13  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   69823 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  237765 Oct 28 15:06 
>> metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb  110783 Oct 28 14:04 
>> metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1976815 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   65727 Jul  9 09:03 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   16572 Feb 27  2019 _users.1539344313.couch
>> 
>> ./c0000000-dfffffff:
>> total 3932
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 31 11:21 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   57532 Jul  9 07:39 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb  127170 Oct 31 11:23 
>> _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  123078 Jul  9 08:59 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb   82124 Oct 31 11:24 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  939951 Nov 18 10:16 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   94399 Jul  9 09:01 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   16575 Nov  5  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   24759 Jul  9 09:01 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb   20665 Jul  9 09:01 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   37049 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  221381 Oct 28 15:07 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:07 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1976599 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   90300 Jul  9 09:02 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   12467 Jan 29  2019 _users.1539344313.couch
>> 
>> ./e0000000-ffffffff:
>> total 3848
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:05 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   53439 Jul  9 07:39 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   65727 Sep 16 09:34 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   65727 Jul  9 08:59 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   24752 Jul  9 09:00 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb   37061 Aug 21 15:39 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   16538 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  939312 Nov 18 10:14 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   24767 Sep 20 17:42 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   45247 Dec 12  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   41158 Jul  9 09:02 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb   98495 Oct 30 10:33 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb  102598 Oct 30 10:33 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:03 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  200901 Oct 28 15:05 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   28869 Oct 28 15:05 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1978382 Nov 18 10:16 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12473 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   49340 Jul  9 09:22 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   37049 Jan 29  2019 _users.1539344313.couch
>> 
>> 
>> 
>> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
>> 
>> 
>> Proprietary
>> 
>> -----Original Message-----
>> From: Jan Lehnardt <ja...@apache.org>
>> Sent: Monday, November 18, 2019 10:05 AM
>> To: CouchDB Users <us...@couchdb.apache.org>
>> Subject: [EXTERNAL] Re: Backup Question on Version 2.2.0
>> 
>> **** External Email - Use Caution ****
>> 
>> Hi Peter,
>> 
>> The documentation page on Backups explains how to backup sharded 
>> database files:
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.couchdb.org_
>> e
>> n_stable_maintenance_backups.html&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn
>> 0 
>> vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=UL
>> R 
>> 4au4Qq4-1YoAJiK4L8oLRgkWUSohjycty4jPGO0A&s=YworDTjqApVrypjVvkD_EWWJYl
>> z
>> XPWUlTIUMK3MovZk&e=
>> 
>> Best
>> Jan
>> --
>> Professional Support for Apache CouchDB:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie
>> _ 
>> couchdb-2Dsupport_&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOX
>> C 
>> FpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR4au4Qq4-1YoAJi
>> K 
>> 4L8oLRgkWUSohjycty4jPGO0A&s=sfWEDC8sI73_fu3uIxyhMJ2Gqw0Mynftjj5JmnUuq
>> u
>> 4&e=
>> 
>> 
>>> On 18. Nov 2019, at 15:50, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
>>> 
>>> I know the document recommendation is to use replication for backups but I want to make sure I provide a recovery solution in case someone totally deletes a document or data within a document by accident and I can recover that.  Replication doesn't provide for this situation.
>>> 
>>> The documentation references backing up .couch files but my implementation doesn't have those.  All of my database files are broken up under the shards directory.  I have no single point of  a database name based on the documentation reference.  Do I just copy the shards directory now?
>>> 
>>> Any advice would be great.
>>> 
>>> 
>>> 
>>> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
>>> 
>>> 
>>> 
>>> Proprietary
>>> 
>>> NOTICE TO RECIPIENT OF INFORMATION:
>>> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
>>> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
>>> Thank you. Aetna
>> 
>> NOTICE TO RECIPIENT OF INFORMATION:
>> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
>> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
>> Thank you. Aetna
> 
> --
> Professional Support for Apache CouchDB:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie_
> couchdb-2Dsupport_&d=DwIFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXC
> FpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ZIa5MuQpK94NrWt9bN
> qPo9a3h6GWRK-I83PtpmkYHzw&s=Nocatentqe7fz0vHhCBtwO3JJpmdExOUIPmC-O1Zir
> w&e=
> 
> NOTICE TO RECIPIENT OF INFORMATION:
> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
> Thank you. Aetna

--
Professional Support for Apache CouchDB:
https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie_couchdb-2Dsupport_&d=DwIFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=oJKlpQ8LCwLAuYH23h6O4x9dYZMx9qaR_4n_JENU87g&s=umqAMy4wMCTxII0M-0MRYp6E6grKnznSEILs2Tw_ttg&e= 

NOTICE TO RECIPIENT OF INFORMATION:
This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
Thank you. Aetna

Re: Re: Re: Backup Question on Version 2.2.0

Posted by Jan Lehnardt <ja...@apache.org>.
curl http://127.0.0.1:5984/_node/_local/_config/couchdb/view_index_dir

> On 18. Nov 2019, at 16:26, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
> 
> I have views but I don't find that sub-directory you mentioned in my directory tree.  What is the default of view_index_dir?
> 
> 
> 
> Peter J Krawetzky | Senior Technical Infrastructure Specialist, Automation Engineering
> P 860-808-6112
> 151 Farmington Avenue, Mail Code AN14, Hartford, CT 06156
> 
> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
> 
> 
> Proprietary
> 
> -----Original Message-----
> From: Jan Lehnardt <ja...@apache.org> 
> Sent: Monday, November 18, 2019 10:21 AM
> To: user@couchdb.apache.org
> Subject: [EXTERNAL] Re: Re: Backup Question on Version 2.2.0
> 
> **** External Email - Use Caution ****
> 
> That looks all normal. Your database dir is /u1/couchdb and you have a /u1/couchdb/shards dir, that’s where all your couch files live, separated by one more dir level that represents the shard range.
> 
> The .shards dir exists in the view_index_dir (not database_dir) configuration, and it includes all view indexes. if you don’t have any views at all, you might not have a .shards dir. If you have views, your view indexes live in view_index_dir/.shards
> 
> Best
> Jan
> —
> 
>> On 18. Nov 2019, at 16:18, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
>> 
>> Thanks and that is the document I'm referencing which is confusing me.  I don't have a data/.shards directory.  Here is my structure.  Take note that databases in my shards directory do no appear under the database_dir location specified in my local.ini file.
>> 
>> $ cd /u01/couchdb
>> $ ls -al
>> total 592
>> drwxr-xr-x  4 couchdb couchdb    233 Oct 31  2018 .
>> drwxr-xr-x  4 root    root        43 Oct 15  2018 ..
>> -rw-r--r--  1 couchdb couchdb 106703 Oct 31  2018 build_queue.couch
>> -rw-r--r--  1 couchdb couchdb  82111 Feb 14  2019 _dbs.couch
>> drwxr-xr-x  2 couchdb couchdb      6 Nov 18 10:09 .delete
>> -rw-r--r--  1 couchdb couchdb 118960 Oct 31  2018 dev.couch
>> -rw-r--r--  1 couchdb couchdb  45260 Oct 31  2018 hieradb.couch
>> -rw-r--r--  1 couchdb couchdb   4272 Oct 15  2018 _nodes.couch
>> -rw-r--r--  1 couchdb couchdb  73901 Oct 31  2018 prod.couch
>> -rw-r--r--  1 couchdb couchdb  16582 Oct 31  2018 qa.couch
>> -rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _replicator.couch
>> drwxr-xr-x 10 couchdb couchdb    206 Oct 15  2018 shards
>> -rw-r--r--  1 couchdb couchdb 110765 Oct 31  2018 test.couch
>> -rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _users.couch
>> 
>> In my /opt/couchdb/etc/local.ini file I have:
>> database_dir = /u01/couchdb
>> 
>> When I list all of the shards sub-directories I see all of my databases:
>> $ pwd
>> /u01/couchdb/shards
>> $ ls -alR
>> .:
>> total 32
>> drwxr-xr-x 10 couchdb couchdb  206 Oct 12  2018 .
>> drwxr-xr-x  4 couchdb couchdb  297 Jun 20 11:39 ..
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:13 00000000-1fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:11 20000000-3fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 40000000-5fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 60000000-7fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:08 80000000-9fffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Nov  5 14:05 a0000000-bfffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 31 11:21 c0000000-dfffffff 
>> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:05 e0000000-ffffffff
>> 
>> ./00000000-1fffffff:
>> total 4448
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:13 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   90310 Jul  9 08:46 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb   28864 Jul  9 08:51 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   45244 Oct 28 15:13 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  118982 Sep 16 09:34 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  749759 Oct 31 11:23 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  931192 Nov 18 10:16 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   90310 Nov  5 13:42 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   20671 Nov  1  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb   28823 Oct 30 10:33 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   73919 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  192709 Oct 28 15:12 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   37068 Oct 28 15:12 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb   24774 Jul  9 09:03 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   41142 Nov 13  2018 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb 1922235 Nov 18 10:15 
>> _users.1539344313.couch
>> 
>> ./20000000-3fffffff:
>> total 2888
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:11 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   32959 Oct 24 14:13 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   16572 Oct 24 13:15 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   16582 Jul  9 09:12 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  114885 Aug 21 16:14 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb    8346 Jul  9 09:23 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   53439 Nov  3 00:39 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   49343 Oct 23  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb   37047 Jul  9 09:04 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  237772 Oct 28 15:11 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   98501 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1974277 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   32959 Feb 26  2019 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb    8371 Oct 12  2018 _users.1539344313.couch
>> 
>> ./40000000-5fffffff:
>> total 2020
>> drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:10 .
>> drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb  53436 Jul  9 07:39 
>> build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb  20669 Jul  9 08:50 
>> cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb  57532 Oct 30 10:33 
>> _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb 127167 Sep  4 14:55 
>> hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb  28851 Jul  9 09:00 
>> hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  32965 Jul  9 09:12 
>> iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 
>> iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb 937934 Nov 18 10:15 
>> iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb 114879 Jul  9 09:01 
>> iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb  90303 Nov 13  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb  32919 Oct 30 10:33 
>> labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb  37062 Jul  9 09:02 
>> labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb  53436 Jul  9 09:03 
>> metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb 188613 Oct 28 15:10 
>> metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb  98501 Oct 28 14:04 
>> metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb  45207 Jul  2 20:57 
>> metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 
>> pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb  24767 Jul  9 09:01 
>> _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  12470 Oct 12  2018 
>> _users.1539344313.couch
>> 
>> ./60000000-7fffffff:
>> total 3760
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:10 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   61631 Jul  9 07:39 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   37052 Oct 28 15:10 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   41158 Sep 16 09:34 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   49306 Jul  9 09:00 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  102598 Oct 31 11:24 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   20634 Jul  9 09:01 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  939231 Nov 18 10:14 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   41111 Nov  5 13:43 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   37055 Nov 12  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb   20631 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  229580 Oct 28 15:09 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:09 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1976032 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   61628 Jul  9 09:02 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   16566 Feb 27  2019 _users.1539344313.couch
>> 
>> ./80000000-9fffffff:
>> total 2024
>> drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:08 .
>> drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb  32966 Oct 24 13:15 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb  49337 Jun 14 08:27 
>> _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  53439 Jul  9 08:59 
>> hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb  41107 Mar 21  2019 
>> hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb 159935 Sep 28 03:19 
>> iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 
>> iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb 939249 Nov 18 10:15 
>> iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb  78015 Jul  9 09:01 
>> iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb  20678 Oct 30  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb  20656 Jul  9 09:01 
>> labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb 118982 Oct 30 10:33 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb 143557 Oct 28 15:08 
>> metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb 118975 Oct 28 14:04 
>> metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb  94396 Jul  9 09:02 
>> metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 
>> pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb  61628 Jul  9 09:23 
>> _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  16566 Feb 27  2019 
>> _users.1539344313.couch
>> 
>> ./a0000000-bfffffff:
>> total 4124
>> drwxr-xr-x  2 couchdb couchdb    4096 Nov  5 14:05 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   24771 Oct 24 13:15 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb   32959 Jul  9 08:50 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   20668 Nov  5 14:05 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   61631 Sep 16 09:34 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb  364741 Aug 12 03:39 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  940104 Nov 18 10:16 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   61631 Nov  5 13:42 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   69823 Nov 13  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   69823 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  237765 Oct 28 15:06 
>> metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb  110783 Oct 28 14:04 
>> metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1976815 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   65727 Jul  9 09:03 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   16572 Feb 27  2019 _users.1539344313.couch
>> 
>> ./c0000000-dfffffff:
>> total 3932
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 31 11:21 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   57532 Jul  9 07:39 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb  127170 Oct 31 11:23 
>> _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb  123078 Jul  9 08:59 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb   82124 Oct 31 11:24 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  939951 Nov 18 10:16 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   94399 Jul  9 09:01 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   16575 Nov  5  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   24759 Jul  9 09:01 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb   20665 Jul  9 09:01 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb   37049 Jul  9 09:02 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  221381 Oct 28 15:07 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:07 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1976599 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   90300 Jul  9 09:02 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   12467 Jan 29  2019 _users.1539344313.couch
>> 
>> ./e0000000-ffffffff:
>> total 3848
>> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:05 .
>> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
>> -rw-r--r--  1 couchdb couchdb   53439 Jul  9 07:39 build_queue.1539344519.couch
>> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
>> -rw-r--r--  1 couchdb couchdb   65727 Sep 16 09:34 _global_changes.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   65727 Jul  9 08:59 hieradb.1539344528.couch
>> -rw-r--r--  1 couchdb couchdb   24752 Jul  9 09:00 hieramanager_test.1540907701.couch
>> -rw-r--r--  1 couchdb couchdb   37061 Aug 21 15:39 iac_birth_certificate.1542119804.couch
>> -rw-r--r--  1 couchdb couchdb   16538 Nov 13  2018 iac_hostname_generator.1542119640.couch
>> -rw-r--r--  1 couchdb couchdb  939312 Nov 18 10:14 iac_metadata_manager.1561041628.couch
>> -rw-r--r--  1 couchdb couchdb   24767 Sep 20 17:42 iac_reference_data.1542135843.couch
>> -rw-r--r--  1 couchdb couchdb   45247 Dec 12  2018 jdsandbox.1539344533.couch
>> -rw-r--r--  1 couchdb couchdb   41158 Jul  9 09:02 labalpha.1539344538.couch
>> -rw-r--r--  1 couchdb couchdb   98495 Oct 30 10:33 labbeta.1539344543.couch
>> -rw-r--r--  1 couchdb couchdb  102598 Oct 30 10:33 labrand.1539344548.couch
>> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:03 metadata.1539344552.couch
>> -rw-r--r--  1 couchdb couchdb  200901 Oct 28 15:05 metadata_dictionary.1539885019.couch
>> -rw-r--r--  1 couchdb couchdb   28869 Oct 28 15:05 metadata_dictionary_classes.1547583298.couch
>> -rw-r--r--  1 couchdb couchdb 1978382 Nov 18 10:16 metadata_dictionary_faq.1550175781.couch
>> -rw-r--r--  1 couchdb couchdb   12473 Jan 30  2019 pjk_rep_test.1539891783.couch
>> -rw-r--r--  1 couchdb couchdb   49340 Jul  9 09:22 _replicator.1539344313.couch
>> -rw-r--r--  1 couchdb couchdb   37049 Jan 29  2019 _users.1539344313.couch
>> 
>> 
>> 
>> Peter J Krawetzky | Senior Technical Infrastructure Specialist, 
>> Automation Engineering P 860-808-6112
>> 151 Farmington Avenue, Mail Code AN14, Hartford, CT 06156
>> 
>> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
>> 
>> 
>> Proprietary
>> 
>> -----Original Message-----
>> From: Jan Lehnardt <ja...@apache.org>
>> Sent: Monday, November 18, 2019 10:05 AM
>> To: CouchDB Users <us...@couchdb.apache.org>
>> Subject: [EXTERNAL] Re: Backup Question on Version 2.2.0
>> 
>> **** External Email - Use Caution ****
>> 
>> Hi Peter,
>> 
>> The documentation page on Backups explains how to backup sharded 
>> database files: 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.couchdb.org_e
>> n_stable_maintenance_backups.html&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0
>> vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR
>> 4au4Qq4-1YoAJiK4L8oLRgkWUSohjycty4jPGO0A&s=YworDTjqApVrypjVvkD_EWWJYlz
>> XPWUlTIUMK3MovZk&e=
>> 
>> Best
>> Jan
>> --
>> Professional Support for Apache CouchDB:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie_
>> couchdb-2Dsupport_&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXC
>> FpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR4au4Qq4-1YoAJiK
>> 4L8oLRgkWUSohjycty4jPGO0A&s=sfWEDC8sI73_fu3uIxyhMJ2Gqw0Mynftjj5JmnUuqu
>> 4&e=
>> 
>> 
>>> On 18. Nov 2019, at 15:50, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
>>> 
>>> I know the document recommendation is to use replication for backups but I want to make sure I provide a recovery solution in case someone totally deletes a document or data within a document by accident and I can recover that.  Replication doesn't provide for this situation.
>>> 
>>> The documentation references backing up .couch files but my implementation doesn't have those.  All of my database files are broken up under the shards directory.  I have no single point of  a database name based on the documentation reference.  Do I just copy the shards directory now?
>>> 
>>> Any advice would be great.
>>> 
>>> 
>>> 
>>> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
>>> 
>>> 
>>> 
>>> Proprietary
>>> 
>>> NOTICE TO RECIPIENT OF INFORMATION:
>>> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
>>> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
>>> Thank you. Aetna
>> 
>> NOTICE TO RECIPIENT OF INFORMATION:
>> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
>> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
>> Thank you. Aetna
> 
> --
> Professional Support for Apache CouchDB:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie_couchdb-2Dsupport_&d=DwIFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ZIa5MuQpK94NrWt9bNqPo9a3h6GWRK-I83PtpmkYHzw&s=Nocatentqe7fz0vHhCBtwO3JJpmdExOUIPmC-O1Zirw&e= 
> 
> NOTICE TO RECIPIENT OF INFORMATION:
> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
> Thank you. Aetna

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


RE: Re: Re: Backup Question on Version 2.2.0

Posted by "Krawetzky, Peter J" <Kr...@aetna.com.INVALID>.
I have views but I don't find that sub-directory you mentioned in my directory tree.  What is the default of view_index_dir?



Peter J Krawetzky | Senior Technical Infrastructure Specialist, Automation Engineering
P 860-808-6112
151 Farmington Avenue, Mail Code AN14, Hartford, CT 06156

CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.


Proprietary

-----Original Message-----
From: Jan Lehnardt <ja...@apache.org> 
Sent: Monday, November 18, 2019 10:21 AM
To: user@couchdb.apache.org
Subject: [EXTERNAL] Re: Re: Backup Question on Version 2.2.0

**** External Email - Use Caution ****

That looks all normal. Your database dir is /u1/couchdb and you have a /u1/couchdb/shards dir, that’s where all your couch files live, separated by one more dir level that represents the shard range.

The .shards dir exists in the view_index_dir (not database_dir) configuration, and it includes all view indexes. if you don’t have any views at all, you might not have a .shards dir. If you have views, your view indexes live in view_index_dir/.shards

Best
Jan
—

> On 18. Nov 2019, at 16:18, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
> 
> Thanks and that is the document I'm referencing which is confusing me.  I don't have a data/.shards directory.  Here is my structure.  Take note that databases in my shards directory do no appear under the database_dir location specified in my local.ini file.
> 
> $ cd /u01/couchdb
> $ ls -al
> total 592
> drwxr-xr-x  4 couchdb couchdb    233 Oct 31  2018 .
> drwxr-xr-x  4 root    root        43 Oct 15  2018 ..
> -rw-r--r--  1 couchdb couchdb 106703 Oct 31  2018 build_queue.couch
> -rw-r--r--  1 couchdb couchdb  82111 Feb 14  2019 _dbs.couch
> drwxr-xr-x  2 couchdb couchdb      6 Nov 18 10:09 .delete
> -rw-r--r--  1 couchdb couchdb 118960 Oct 31  2018 dev.couch
> -rw-r--r--  1 couchdb couchdb  45260 Oct 31  2018 hieradb.couch
> -rw-r--r--  1 couchdb couchdb   4272 Oct 15  2018 _nodes.couch
> -rw-r--r--  1 couchdb couchdb  73901 Oct 31  2018 prod.couch
> -rw-r--r--  1 couchdb couchdb  16582 Oct 31  2018 qa.couch
> -rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _replicator.couch
> drwxr-xr-x 10 couchdb couchdb    206 Oct 15  2018 shards
> -rw-r--r--  1 couchdb couchdb 110765 Oct 31  2018 test.couch
> -rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _users.couch
> 
> In my /opt/couchdb/etc/local.ini file I have:
> database_dir = /u01/couchdb
> 
> When I list all of the shards sub-directories I see all of my databases:
> $ pwd
> /u01/couchdb/shards
> $ ls -alR
> .:
> total 32
> drwxr-xr-x 10 couchdb couchdb  206 Oct 12  2018 .
> drwxr-xr-x  4 couchdb couchdb  297 Jun 20 11:39 ..
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:13 00000000-1fffffff 
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:11 20000000-3fffffff 
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 40000000-5fffffff 
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 60000000-7fffffff 
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:08 80000000-9fffffff 
> drwxr-xr-x  2 couchdb couchdb 4096 Nov  5 14:05 a0000000-bfffffff 
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 31 11:21 c0000000-dfffffff 
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:05 e0000000-ffffffff
> 
> ./00000000-1fffffff:
> total 4448
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:13 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   90310 Jul  9 08:46 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb   28864 Jul  9 08:51 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   45244 Oct 28 15:13 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  118982 Sep 16 09:34 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  749759 Oct 31 11:23 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  931192 Nov 18 10:16 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   90310 Nov  5 13:42 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   20671 Nov  1  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb   28823 Oct 30 10:33 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   73919 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  192709 Oct 28 15:12 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   37068 Oct 28 15:12 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb   24774 Jul  9 09:03 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   41142 Nov 13  2018 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb 1922235 Nov 18 10:15 
> _users.1539344313.couch
> 
> ./20000000-3fffffff:
> total 2888
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:11 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   32959 Oct 24 14:13 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   16572 Oct 24 13:15 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   16582 Jul  9 09:12 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  114885 Aug 21 16:14 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb    8346 Jul  9 09:23 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   53439 Nov  3 00:39 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   49343 Oct 23  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb   37047 Jul  9 09:04 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  237772 Oct 28 15:11 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   98501 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1974277 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   32959 Feb 26  2019 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb    8371 Oct 12  2018 _users.1539344313.couch
> 
> ./40000000-5fffffff:
> total 2020
> drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:10 .
> drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb  53436 Jul  9 07:39 
> build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb  20669 Jul  9 08:50 
> cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb  57532 Oct 30 10:33 
> _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb 127167 Sep  4 14:55 
> hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb  28851 Jul  9 09:00 
> hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  32965 Jul  9 09:12 
> iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 
> iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb 937934 Nov 18 10:15 
> iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb 114879 Jul  9 09:01 
> iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb  90303 Nov 13  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb  32919 Oct 30 10:33 
> labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb  37062 Jul  9 09:02 
> labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb  53436 Jul  9 09:03 
> metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb 188613 Oct 28 15:10 
> metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb  98501 Oct 28 14:04 
> metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb  45207 Jul  2 20:57 
> metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 
> pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb  24767 Jul  9 09:01 
> _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  12470 Oct 12  2018 
> _users.1539344313.couch
> 
> ./60000000-7fffffff:
> total 3760
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:10 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   61631 Jul  9 07:39 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   37052 Oct 28 15:10 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   41158 Sep 16 09:34 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   49306 Jul  9 09:00 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  102598 Oct 31 11:24 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   20634 Jul  9 09:01 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  939231 Nov 18 10:14 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   41111 Nov  5 13:43 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   37055 Nov 12  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb   20631 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  229580 Oct 28 15:09 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:09 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1976032 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   61628 Jul  9 09:02 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   16566 Feb 27  2019 _users.1539344313.couch
> 
> ./80000000-9fffffff:
> total 2024
> drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:08 .
> drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb  32966 Oct 24 13:15 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb  49337 Jun 14 08:27 
> _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  53439 Jul  9 08:59 
> hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb  41107 Mar 21  2019 
> hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb 159935 Sep 28 03:19 
> iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 
> iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb 939249 Nov 18 10:15 
> iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb  78015 Jul  9 09:01 
> iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb  20678 Oct 30  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb  20656 Jul  9 09:01 
> labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb 118982 Oct 30 10:33 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb 143557 Oct 28 15:08 
> metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb 118975 Oct 28 14:04 
> metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb  94396 Jul  9 09:02 
> metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 
> pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb  61628 Jul  9 09:23 
> _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  16566 Feb 27  2019 
> _users.1539344313.couch
> 
> ./a0000000-bfffffff:
> total 4124
> drwxr-xr-x  2 couchdb couchdb    4096 Nov  5 14:05 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   24771 Oct 24 13:15 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb   32959 Jul  9 08:50 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   20668 Nov  5 14:05 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   61631 Sep 16 09:34 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  364741 Aug 12 03:39 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  940104 Nov 18 10:16 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   61631 Nov  5 13:42 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   69823 Nov 13  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   69823 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  237765 Oct 28 15:06 
> metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb  110783 Oct 28 14:04 
> metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1976815 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   65727 Jul  9 09:03 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   16572 Feb 27  2019 _users.1539344313.couch
> 
> ./c0000000-dfffffff:
> total 3932
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 31 11:21 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   57532 Jul  9 07:39 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb  127170 Oct 31 11:23 
> _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  123078 Jul  9 08:59 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb   82124 Oct 31 11:24 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  939951 Nov 18 10:16 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   94399 Jul  9 09:01 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   16575 Nov  5  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   24759 Jul  9 09:01 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb   20665 Jul  9 09:01 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   37049 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  221381 Oct 28 15:07 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:07 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1976599 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   90300 Jul  9 09:02 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   12467 Jan 29  2019 _users.1539344313.couch
> 
> ./e0000000-ffffffff:
> total 3848
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:05 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   53439 Jul  9 07:39 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   65727 Sep 16 09:34 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   65727 Jul  9 08:59 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   24752 Jul  9 09:00 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb   37061 Aug 21 15:39 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   16538 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  939312 Nov 18 10:14 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   24767 Sep 20 17:42 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   45247 Dec 12  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   41158 Jul  9 09:02 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb   98495 Oct 30 10:33 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb  102598 Oct 30 10:33 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:03 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  200901 Oct 28 15:05 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   28869 Oct 28 15:05 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1978382 Nov 18 10:16 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12473 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   49340 Jul  9 09:22 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   37049 Jan 29  2019 _users.1539344313.couch
> 
> 
> 
> Peter J Krawetzky | Senior Technical Infrastructure Specialist, 
> Automation Engineering P 860-808-6112
> 151 Farmington Avenue, Mail Code AN14, Hartford, CT 06156
> 
> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
> 
> 
> Proprietary
> 
> -----Original Message-----
> From: Jan Lehnardt <ja...@apache.org>
> Sent: Monday, November 18, 2019 10:05 AM
> To: CouchDB Users <us...@couchdb.apache.org>
> Subject: [EXTERNAL] Re: Backup Question on Version 2.2.0
> 
> **** External Email - Use Caution ****
> 
> Hi Peter,
> 
> The documentation page on Backups explains how to backup sharded 
> database files: 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.couchdb.org_e
> n_stable_maintenance_backups.html&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0
> vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR
> 4au4Qq4-1YoAJiK4L8oLRgkWUSohjycty4jPGO0A&s=YworDTjqApVrypjVvkD_EWWJYlz
> XPWUlTIUMK3MovZk&e=
> 
> Best
> Jan
> --
> Professional Support for Apache CouchDB:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie_
> couchdb-2Dsupport_&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXC
> FpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR4au4Qq4-1YoAJiK
> 4L8oLRgkWUSohjycty4jPGO0A&s=sfWEDC8sI73_fu3uIxyhMJ2Gqw0Mynftjj5JmnUuqu
> 4&e=
> 
> 
>> On 18. Nov 2019, at 15:50, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
>> 
>> I know the document recommendation is to use replication for backups but I want to make sure I provide a recovery solution in case someone totally deletes a document or data within a document by accident and I can recover that.  Replication doesn't provide for this situation.
>> 
>> The documentation references backing up .couch files but my implementation doesn't have those.  All of my database files are broken up under the shards directory.  I have no single point of  a database name based on the documentation reference.  Do I just copy the shards directory now?
>> 
>> Any advice would be great.
>> 
>> 
>> 
>> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
>> 
>> 
>> 
>> Proprietary
>> 
>> NOTICE TO RECIPIENT OF INFORMATION:
>> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
>> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
>> Thank you. Aetna
> 
> NOTICE TO RECIPIENT OF INFORMATION:
> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
> Thank you. Aetna

--
Professional Support for Apache CouchDB:
https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie_couchdb-2Dsupport_&d=DwIFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ZIa5MuQpK94NrWt9bNqPo9a3h6GWRK-I83PtpmkYHzw&s=Nocatentqe7fz0vHhCBtwO3JJpmdExOUIPmC-O1Zirw&e= 

NOTICE TO RECIPIENT OF INFORMATION:
This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
Thank you. Aetna

Re: Re: Backup Question on Version 2.2.0

Posted by Jan Lehnardt <ja...@apache.org>.
That looks all normal. Your database dir is /u1/couchdb and you have a /u1/couchdb/shards dir, that’s where all your couch files live, separated by one more dir level that represents the shard range.

The .shards dir exists in the view_index_dir (not database_dir) configuration, and it includes all view indexes. if you don’t have any views at all, you might not have a .shards dir. If you have views, your view indexes live in view_index_dir/.shards

Best
Jan
—

> On 18. Nov 2019, at 16:18, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
> 
> Thanks and that is the document I'm referencing which is confusing me.  I don't have a data/.shards directory.  Here is my structure.  Take note that databases in my shards directory do no appear under the database_dir location specified in my local.ini file.
> 
> $ cd /u01/couchdb
> $ ls -al
> total 592
> drwxr-xr-x  4 couchdb couchdb    233 Oct 31  2018 .
> drwxr-xr-x  4 root    root        43 Oct 15  2018 ..
> -rw-r--r--  1 couchdb couchdb 106703 Oct 31  2018 build_queue.couch
> -rw-r--r--  1 couchdb couchdb  82111 Feb 14  2019 _dbs.couch
> drwxr-xr-x  2 couchdb couchdb      6 Nov 18 10:09 .delete
> -rw-r--r--  1 couchdb couchdb 118960 Oct 31  2018 dev.couch
> -rw-r--r--  1 couchdb couchdb  45260 Oct 31  2018 hieradb.couch
> -rw-r--r--  1 couchdb couchdb   4272 Oct 15  2018 _nodes.couch
> -rw-r--r--  1 couchdb couchdb  73901 Oct 31  2018 prod.couch
> -rw-r--r--  1 couchdb couchdb  16582 Oct 31  2018 qa.couch
> -rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _replicator.couch
> drwxr-xr-x 10 couchdb couchdb    206 Oct 15  2018 shards
> -rw-r--r--  1 couchdb couchdb 110765 Oct 31  2018 test.couch
> -rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _users.couch
> 
> In my /opt/couchdb/etc/local.ini file I have:
> database_dir = /u01/couchdb
> 
> When I list all of the shards sub-directories I see all of my databases:
> $ pwd
> /u01/couchdb/shards
> $ ls -alR
> .:
> total 32
> drwxr-xr-x 10 couchdb couchdb  206 Oct 12  2018 .
> drwxr-xr-x  4 couchdb couchdb  297 Jun 20 11:39 ..
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:13 00000000-1fffffff
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:11 20000000-3fffffff
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 40000000-5fffffff
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 60000000-7fffffff
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:08 80000000-9fffffff
> drwxr-xr-x  2 couchdb couchdb 4096 Nov  5 14:05 a0000000-bfffffff
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 31 11:21 c0000000-dfffffff
> drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:05 e0000000-ffffffff
> 
> ./00000000-1fffffff:
> total 4448
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:13 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   90310 Jul  9 08:46 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb   28864 Jul  9 08:51 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   45244 Oct 28 15:13 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  118982 Sep 16 09:34 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  749759 Oct 31 11:23 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  931192 Nov 18 10:16 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   90310 Nov  5 13:42 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   20671 Nov  1  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb   28823 Oct 30 10:33 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   73919 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  192709 Oct 28 15:12 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   37068 Oct 28 15:12 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb   24774 Jul  9 09:03 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   41142 Nov 13  2018 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb 1922235 Nov 18 10:15 _users.1539344313.couch
> 
> ./20000000-3fffffff:
> total 2888
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:11 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   32959 Oct 24 14:13 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   16572 Oct 24 13:15 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   16582 Jul  9 09:12 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  114885 Aug 21 16:14 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb    8346 Jul  9 09:23 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   53439 Nov  3 00:39 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   49343 Oct 23  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb   37047 Jul  9 09:04 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  237772 Oct 28 15:11 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   98501 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1974277 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   32959 Feb 26  2019 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb    8371 Oct 12  2018 _users.1539344313.couch
> 
> ./40000000-5fffffff:
> total 2020
> drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:10 .
> drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb  53436 Jul  9 07:39 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb  20669 Jul  9 08:50 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb  57532 Oct 30 10:33 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb 127167 Sep  4 14:55 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb  28851 Jul  9 09:00 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  32965 Jul  9 09:12 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb 937934 Nov 18 10:15 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb 114879 Jul  9 09:01 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb  90303 Nov 13  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb  32919 Oct 30 10:33 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb  37062 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb  53436 Jul  9 09:03 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb 188613 Oct 28 15:10 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb  98501 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb  45207 Jul  2 20:57 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb  24767 Jul  9 09:01 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  12470 Oct 12  2018 _users.1539344313.couch
> 
> ./60000000-7fffffff:
> total 3760
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:10 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   61631 Jul  9 07:39 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   37052 Oct 28 15:10 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   41158 Sep 16 09:34 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   49306 Jul  9 09:00 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  102598 Oct 31 11:24 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   20634 Jul  9 09:01 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  939231 Nov 18 10:14 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   41111 Nov  5 13:43 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   37055 Nov 12  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb   20631 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  229580 Oct 28 15:09 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:09 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1976032 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   61628 Jul  9 09:02 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   16566 Feb 27  2019 _users.1539344313.couch
> 
> ./80000000-9fffffff:
> total 2024
> drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:08 .
> drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb  32966 Oct 24 13:15 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb  49337 Jun 14 08:27 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  53439 Jul  9 08:59 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb  41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb 159935 Sep 28 03:19 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb 939249 Nov 18 10:15 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb  78015 Jul  9 09:01 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb  20678 Oct 30  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb  20656 Jul  9 09:01 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb 118982 Oct 30 10:33 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb 143557 Oct 28 15:08 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb 118975 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb  94396 Jul  9 09:02 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb  61628 Jul  9 09:23 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  16566 Feb 27  2019 _users.1539344313.couch
> 
> ./a0000000-bfffffff:
> total 4124
> drwxr-xr-x  2 couchdb couchdb    4096 Nov  5 14:05 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   24771 Oct 24 13:15 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb   32959 Jul  9 08:50 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   20668 Nov  5 14:05 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   61631 Sep 16 09:34 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb  364741 Aug 12 03:39 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  940104 Nov 18 10:16 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   61631 Nov  5 13:42 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   69823 Nov 13  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   69823 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  237765 Oct 28 15:06 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb  110783 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1976815 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   65727 Jul  9 09:03 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   16572 Feb 27  2019 _users.1539344313.couch
> 
> ./c0000000-dfffffff:
> total 3932
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 31 11:21 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   57532 Jul  9 07:39 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb  127170 Oct 31 11:23 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb  123078 Jul  9 08:59 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb   82124 Oct 31 11:24 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  939951 Nov 18 10:16 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   94399 Jul  9 09:01 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   16575 Nov  5  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   24759 Jul  9 09:01 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb   20665 Jul  9 09:01 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb   37049 Jul  9 09:02 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  221381 Oct 28 15:07 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:07 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1976599 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   90300 Jul  9 09:02 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   12467 Jan 29  2019 _users.1539344313.couch
> 
> ./e0000000-ffffffff:
> total 3848
> drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:05 .
> drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
> -rw-r--r--  1 couchdb couchdb   53439 Jul  9 07:39 build_queue.1539344519.couch
> -rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
> -rw-r--r--  1 couchdb couchdb   65727 Sep 16 09:34 _global_changes.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   65727 Jul  9 08:59 hieradb.1539344528.couch
> -rw-r--r--  1 couchdb couchdb   24752 Jul  9 09:00 hieramanager_test.1540907701.couch
> -rw-r--r--  1 couchdb couchdb   37061 Aug 21 15:39 iac_birth_certificate.1542119804.couch
> -rw-r--r--  1 couchdb couchdb   16538 Nov 13  2018 iac_hostname_generator.1542119640.couch
> -rw-r--r--  1 couchdb couchdb  939312 Nov 18 10:14 iac_metadata_manager.1561041628.couch
> -rw-r--r--  1 couchdb couchdb   24767 Sep 20 17:42 iac_reference_data.1542135843.couch
> -rw-r--r--  1 couchdb couchdb   45247 Dec 12  2018 jdsandbox.1539344533.couch
> -rw-r--r--  1 couchdb couchdb   41158 Jul  9 09:02 labalpha.1539344538.couch
> -rw-r--r--  1 couchdb couchdb   98495 Oct 30 10:33 labbeta.1539344543.couch
> -rw-r--r--  1 couchdb couchdb  102598 Oct 30 10:33 labrand.1539344548.couch
> -rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:03 metadata.1539344552.couch
> -rw-r--r--  1 couchdb couchdb  200901 Oct 28 15:05 metadata_dictionary.1539885019.couch
> -rw-r--r--  1 couchdb couchdb   28869 Oct 28 15:05 metadata_dictionary_classes.1547583298.couch
> -rw-r--r--  1 couchdb couchdb 1978382 Nov 18 10:16 metadata_dictionary_faq.1550175781.couch
> -rw-r--r--  1 couchdb couchdb   12473 Jan 30  2019 pjk_rep_test.1539891783.couch
> -rw-r--r--  1 couchdb couchdb   49340 Jul  9 09:22 _replicator.1539344313.couch
> -rw-r--r--  1 couchdb couchdb   37049 Jan 29  2019 _users.1539344313.couch
> 
> 
> 
> Peter J Krawetzky | Senior Technical Infrastructure Specialist, Automation Engineering
> P 860-808-6112
> 151 Farmington Avenue, Mail Code AN14, Hartford, CT 06156
> 
> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
> 
> 
> Proprietary
> 
> -----Original Message-----
> From: Jan Lehnardt <ja...@apache.org> 
> Sent: Monday, November 18, 2019 10:05 AM
> To: CouchDB Users <us...@couchdb.apache.org>
> Subject: [EXTERNAL] Re: Backup Question on Version 2.2.0
> 
> **** External Email - Use Caution ****
> 
> Hi Peter,
> 
> The documentation page on Backups explains how to backup sharded database files: https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.couchdb.org_en_stable_maintenance_backups.html&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR4au4Qq4-1YoAJiK4L8oLRgkWUSohjycty4jPGO0A&s=YworDTjqApVrypjVvkD_EWWJYlzXPWUlTIUMK3MovZk&e= 
> 
> Best
> Jan
> -- 
> Professional Support for Apache CouchDB:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie_couchdb-2Dsupport_&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR4au4Qq4-1YoAJiK4L8oLRgkWUSohjycty4jPGO0A&s=sfWEDC8sI73_fu3uIxyhMJ2Gqw0Mynftjj5JmnUuqu4&e= 
> 
> 
>> On 18. Nov 2019, at 15:50, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
>> 
>> I know the document recommendation is to use replication for backups but I want to make sure I provide a recovery solution in case someone totally deletes a document or data within a document by accident and I can recover that.  Replication doesn't provide for this situation.
>> 
>> The documentation references backing up .couch files but my implementation doesn't have those.  All of my database files are broken up under the shards directory.  I have no single point of  a database name based on the documentation reference.  Do I just copy the shards directory now?
>> 
>> Any advice would be great.
>> 
>> 
>> 
>> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
>> 
>> 
>> 
>> Proprietary
>> 
>> NOTICE TO RECIPIENT OF INFORMATION:
>> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
>> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
>> Thank you. Aetna
> 
> NOTICE TO RECIPIENT OF INFORMATION:
> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
> Thank you. Aetna

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


RE: Re: Backup Question on Version 2.2.0

Posted by "Krawetzky, Peter J" <Kr...@aetna.com.INVALID>.
Thanks and that is the document I'm referencing which is confusing me.  I don't have a data/.shards directory.  Here is my structure.  Take note that databases in my shards directory do no appear under the database_dir location specified in my local.ini file.

$ cd /u01/couchdb
$ ls -al
total 592
drwxr-xr-x  4 couchdb couchdb    233 Oct 31  2018 .
drwxr-xr-x  4 root    root        43 Oct 15  2018 ..
-rw-r--r--  1 couchdb couchdb 106703 Oct 31  2018 build_queue.couch
-rw-r--r--  1 couchdb couchdb  82111 Feb 14  2019 _dbs.couch
drwxr-xr-x  2 couchdb couchdb      6 Nov 18 10:09 .delete
-rw-r--r--  1 couchdb couchdb 118960 Oct 31  2018 dev.couch
-rw-r--r--  1 couchdb couchdb  45260 Oct 31  2018 hieradb.couch
-rw-r--r--  1 couchdb couchdb   4272 Oct 15  2018 _nodes.couch
-rw-r--r--  1 couchdb couchdb  73901 Oct 31  2018 prod.couch
-rw-r--r--  1 couchdb couchdb  16582 Oct 31  2018 qa.couch
-rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _replicator.couch
drwxr-xr-x 10 couchdb couchdb    206 Oct 15  2018 shards
-rw-r--r--  1 couchdb couchdb 110765 Oct 31  2018 test.couch
-rw-r--r--  1 couchdb couchdb   4278 Oct 15  2018 _users.couch

In my /opt/couchdb/etc/local.ini file I have:
database_dir = /u01/couchdb

When I list all of the shards sub-directories I see all of my databases:
$ pwd
/u01/couchdb/shards
$ ls -alR
.:
total 32
drwxr-xr-x 10 couchdb couchdb  206 Oct 12  2018 .
drwxr-xr-x  4 couchdb couchdb  297 Jun 20 11:39 ..
drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:13 00000000-1fffffff
drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:11 20000000-3fffffff
drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 40000000-5fffffff
drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:10 60000000-7fffffff
drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:08 80000000-9fffffff
drwxr-xr-x  2 couchdb couchdb 4096 Nov  5 14:05 a0000000-bfffffff
drwxr-xr-x  2 couchdb couchdb 4096 Oct 31 11:21 c0000000-dfffffff
drwxr-xr-x  2 couchdb couchdb 4096 Oct 28 15:05 e0000000-ffffffff

./00000000-1fffffff:
total 4448
drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:13 .
drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
-rw-r--r--  1 couchdb couchdb   90310 Jul  9 08:46 build_queue.1539344519.couch
-rw-r--r--  1 couchdb couchdb   28864 Jul  9 08:51 cloudforms.1539344527.couch
-rw-r--r--  1 couchdb couchdb   45244 Oct 28 15:13 _global_changes.1539344313.couch
-rw-r--r--  1 couchdb couchdb  118982 Sep 16 09:34 hieradb.1539344528.couch
-rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
-rw-r--r--  1 couchdb couchdb  749759 Oct 31 11:23 iac_birth_certificate.1542119804.couch
-rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
-rw-r--r--  1 couchdb couchdb  931192 Nov 18 10:16 iac_metadata_manager.1561041628.couch
-rw-r--r--  1 couchdb couchdb   90310 Nov  5 13:42 iac_reference_data.1542135843.couch
-rw-r--r--  1 couchdb couchdb   20671 Nov  1  2018 jdsandbox.1539344533.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
-rw-r--r--  1 couchdb couchdb   28823 Oct 30 10:33 labbeta.1539344543.couch
-rw-r--r--  1 couchdb couchdb   73919 Jul  9 09:02 labrand.1539344548.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
-rw-r--r--  1 couchdb couchdb  192709 Oct 28 15:12 metadata_dictionary.1539885019.couch
-rw-r--r--  1 couchdb couchdb   37068 Oct 28 15:12 metadata_dictionary_classes.1547583298.couch
-rw-r--r--  1 couchdb couchdb   24774 Jul  9 09:03 metadata_dictionary_faq.1550175781.couch
-rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
-rw-r--r--  1 couchdb couchdb   41142 Nov 13  2018 _replicator.1539344313.couch
-rw-r--r--  1 couchdb couchdb 1922235 Nov 18 10:15 _users.1539344313.couch

./20000000-3fffffff:
total 2888
drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:11 .
drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
-rw-r--r--  1 couchdb couchdb   32959 Oct 24 14:13 build_queue.1539344519.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
-rw-r--r--  1 couchdb couchdb   16572 Oct 24 13:15 _global_changes.1539344313.couch
-rw-r--r--  1 couchdb couchdb   16582 Jul  9 09:12 hieradb.1539344528.couch
-rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
-rw-r--r--  1 couchdb couchdb  114885 Aug 21 16:14 iac_birth_certificate.1542119804.couch
-rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
-rw-r--r--  1 couchdb couchdb    8346 Jul  9 09:23 iac_metadata_manager.1561041628.couch
-rw-r--r--  1 couchdb couchdb   53439 Nov  3 00:39 iac_reference_data.1542135843.couch
-rw-r--r--  1 couchdb couchdb   49343 Oct 23  2018 jdsandbox.1539344533.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
-rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labbeta.1539344543.couch
-rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
-rw-r--r--  1 couchdb couchdb   37047 Jul  9 09:04 metadata.1539344552.couch
-rw-r--r--  1 couchdb couchdb  237772 Oct 28 15:11 metadata_dictionary.1539885019.couch
-rw-r--r--  1 couchdb couchdb   98501 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
-rw-r--r--  1 couchdb couchdb 1974277 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
-rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
-rw-r--r--  1 couchdb couchdb   32959 Feb 26  2019 _replicator.1539344313.couch
-rw-r--r--  1 couchdb couchdb    8371 Oct 12  2018 _users.1539344313.couch

./40000000-5fffffff:
total 2020
drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:10 .
drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
-rw-r--r--  1 couchdb couchdb  53436 Jul  9 07:39 build_queue.1539344519.couch
-rw-r--r--  1 couchdb couchdb  20669 Jul  9 08:50 cloudforms.1539344527.couch
-rw-r--r--  1 couchdb couchdb  57532 Oct 30 10:33 _global_changes.1539344313.couch
-rw-r--r--  1 couchdb couchdb 127167 Sep  4 14:55 hieradb.1539344528.couch
-rw-r--r--  1 couchdb couchdb  28851 Jul  9 09:00 hieramanager_test.1540907701.couch
-rw-r--r--  1 couchdb couchdb  32965 Jul  9 09:12 iac_birth_certificate.1542119804.couch
-rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
-rw-r--r--  1 couchdb couchdb 937934 Nov 18 10:15 iac_metadata_manager.1561041628.couch
-rw-r--r--  1 couchdb couchdb 114879 Jul  9 09:01 iac_reference_data.1542135843.couch
-rw-r--r--  1 couchdb couchdb  90303 Nov 13  2018 jdsandbox.1539344533.couch
-rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
-rw-r--r--  1 couchdb couchdb  32919 Oct 30 10:33 labbeta.1539344543.couch
-rw-r--r--  1 couchdb couchdb  37062 Jul  9 09:02 labrand.1539344548.couch
-rw-r--r--  1 couchdb couchdb  53436 Jul  9 09:03 metadata.1539344552.couch
-rw-r--r--  1 couchdb couchdb 188613 Oct 28 15:10 metadata_dictionary.1539885019.couch
-rw-r--r--  1 couchdb couchdb  98501 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
-rw-r--r--  1 couchdb couchdb  45207 Jul  2 20:57 metadata_dictionary_faq.1550175781.couch
-rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 pjk_rep_test.1539891783.couch
-rw-r--r--  1 couchdb couchdb  24767 Jul  9 09:01 _replicator.1539344313.couch
-rw-r--r--  1 couchdb couchdb  12470 Oct 12  2018 _users.1539344313.couch

./60000000-7fffffff:
total 3760
drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:10 .
drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
-rw-r--r--  1 couchdb couchdb   61631 Jul  9 07:39 build_queue.1539344519.couch
-rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 cloudforms.1539344527.couch
-rw-r--r--  1 couchdb couchdb   37052 Oct 28 15:10 _global_changes.1539344313.couch
-rw-r--r--  1 couchdb couchdb   41158 Sep 16 09:34 hieradb.1539344528.couch
-rw-r--r--  1 couchdb couchdb   49306 Jul  9 09:00 hieramanager_test.1540907701.couch
-rw-r--r--  1 couchdb couchdb  102598 Oct 31 11:24 iac_birth_certificate.1542119804.couch
-rw-r--r--  1 couchdb couchdb   20634 Jul  9 09:01 iac_hostname_generator.1542119640.couch
-rw-r--r--  1 couchdb couchdb  939231 Nov 18 10:14 iac_metadata_manager.1561041628.couch
-rw-r--r--  1 couchdb couchdb   41111 Nov  5 13:43 iac_reference_data.1542135843.couch
-rw-r--r--  1 couchdb couchdb   37055 Nov 12  2018 jdsandbox.1539344533.couch
-rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:01 labalpha.1539344538.couch
-rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 labbeta.1539344543.couch
-rw-r--r--  1 couchdb couchdb   37055 Jul  9 09:02 labrand.1539344548.couch
-rw-r--r--  1 couchdb couchdb   20631 Oct 12  2018 metadata.1539344552.couch
-rw-r--r--  1 couchdb couchdb  229580 Oct 28 15:09 metadata_dictionary.1539885019.couch
-rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:09 metadata_dictionary_classes.1547583298.couch
-rw-r--r--  1 couchdb couchdb 1976032 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
-rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
-rw-r--r--  1 couchdb couchdb   61628 Jul  9 09:02 _replicator.1539344313.couch
-rw-r--r--  1 couchdb couchdb   16566 Feb 27  2019 _users.1539344313.couch

./80000000-9fffffff:
total 2024
drwxr-xr-x  2 couchdb couchdb   4096 Oct 28 15:08 .
drwxr-xr-x 10 couchdb couchdb    206 Oct 12  2018 ..
-rw-r--r--  1 couchdb couchdb  32966 Oct 24 13:15 build_queue.1539344519.couch
-rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 cloudforms.1539344527.couch
-rw-r--r--  1 couchdb couchdb  49337 Jun 14 08:27 _global_changes.1539344313.couch
-rw-r--r--  1 couchdb couchdb  53439 Jul  9 08:59 hieradb.1539344528.couch
-rw-r--r--  1 couchdb couchdb  41107 Mar 21  2019 hieramanager_test.1540907701.couch
-rw-r--r--  1 couchdb couchdb 159935 Sep 28 03:19 iac_birth_certificate.1542119804.couch
-rw-r--r--  1 couchdb couchdb  12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
-rw-r--r--  1 couchdb couchdb 939249 Nov 18 10:15 iac_metadata_manager.1561041628.couch
-rw-r--r--  1 couchdb couchdb  78015 Jul  9 09:01 iac_reference_data.1542135843.couch
-rw-r--r--  1 couchdb couchdb  20678 Oct 30  2018 jdsandbox.1539344533.couch
-rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 labalpha.1539344538.couch
-rw-r--r--  1 couchdb couchdb  20656 Jul  9 09:01 labbeta.1539344543.couch
-rw-r--r--  1 couchdb couchdb 118982 Oct 30 10:33 labrand.1539344548.couch
-rw-r--r--  1 couchdb couchdb   4240 Oct 12  2018 metadata.1539344552.couch
-rw-r--r--  1 couchdb couchdb 143557 Oct 28 15:08 metadata_dictionary.1539885019.couch
-rw-r--r--  1 couchdb couchdb 118975 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
-rw-r--r--  1 couchdb couchdb  94396 Jul  9 09:02 metadata_dictionary_faq.1550175781.couch
-rw-r--r--  1 couchdb couchdb  12432 Jan 30  2019 pjk_rep_test.1539891783.couch
-rw-r--r--  1 couchdb couchdb  61628 Jul  9 09:23 _replicator.1539344313.couch
-rw-r--r--  1 couchdb couchdb  16566 Feb 27  2019 _users.1539344313.couch

./a0000000-bfffffff:
total 4124
drwxr-xr-x  2 couchdb couchdb    4096 Nov  5 14:05 .
drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
-rw-r--r--  1 couchdb couchdb   24771 Oct 24 13:15 build_queue.1539344519.couch
-rw-r--r--  1 couchdb couchdb   32959 Jul  9 08:50 cloudforms.1539344527.couch
-rw-r--r--  1 couchdb couchdb   20668 Nov  5 14:05 _global_changes.1539344313.couch
-rw-r--r--  1 couchdb couchdb   61631 Sep 16 09:34 hieradb.1539344528.couch
-rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
-rw-r--r--  1 couchdb couchdb  364741 Aug 12 03:39 iac_birth_certificate.1542119804.couch
-rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
-rw-r--r--  1 couchdb couchdb  940104 Nov 18 10:16 iac_metadata_manager.1561041628.couch
-rw-r--r--  1 couchdb couchdb   61631 Nov  5 13:42 iac_reference_data.1542135843.couch
-rw-r--r--  1 couchdb couchdb   69823 Nov 13  2018 jdsandbox.1539344533.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labalpha.1539344538.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 labbeta.1539344543.couch
-rw-r--r--  1 couchdb couchdb   69823 Jul  9 09:02 labrand.1539344548.couch
-rw-r--r--  1 couchdb couchdb    8343 Oct 12  2018 metadata.1539344552.couch
-rw-r--r--  1 couchdb couchdb  237765 Oct 28 15:06 metadata_dictionary.1539885019.couch
-rw-r--r--  1 couchdb couchdb  110783 Oct 28 14:04 metadata_dictionary_classes.1547583298.couch
-rw-r--r--  1 couchdb couchdb 1976815 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
-rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
-rw-r--r--  1 couchdb couchdb   65727 Jul  9 09:03 _replicator.1539344313.couch
-rw-r--r--  1 couchdb couchdb   16572 Feb 27  2019 _users.1539344313.couch

./c0000000-dfffffff:
total 3932
drwxr-xr-x  2 couchdb couchdb    4096 Oct 31 11:21 .
drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
-rw-r--r--  1 couchdb couchdb   57532 Jul  9 07:39 build_queue.1539344519.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
-rw-r--r--  1 couchdb couchdb  127170 Oct 31 11:23 _global_changes.1539344313.couch
-rw-r--r--  1 couchdb couchdb  123078 Jul  9 08:59 hieradb.1539344528.couch
-rw-r--r--  1 couchdb couchdb   41107 Mar 21  2019 hieramanager_test.1540907701.couch
-rw-r--r--  1 couchdb couchdb   82124 Oct 31 11:24 iac_birth_certificate.1542119804.couch
-rw-r--r--  1 couchdb couchdb   12435 Nov 13  2018 iac_hostname_generator.1542119640.couch
-rw-r--r--  1 couchdb couchdb  939951 Nov 18 10:16 iac_metadata_manager.1561041628.couch
-rw-r--r--  1 couchdb couchdb   94399 Jul  9 09:01 iac_reference_data.1542135843.couch
-rw-r--r--  1 couchdb couchdb   16575 Nov  5  2018 jdsandbox.1539344533.couch
-rw-r--r--  1 couchdb couchdb   24759 Jul  9 09:01 labalpha.1539344538.couch
-rw-r--r--  1 couchdb couchdb   20665 Jul  9 09:01 labbeta.1539344543.couch
-rw-r--r--  1 couchdb couchdb   37049 Jul  9 09:02 labrand.1539344548.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 metadata.1539344552.couch
-rw-r--r--  1 couchdb couchdb  221381 Oct 28 15:07 metadata_dictionary.1539885019.couch
-rw-r--r--  1 couchdb couchdb   37061 Oct 28 15:07 metadata_dictionary_classes.1547583298.couch
-rw-r--r--  1 couchdb couchdb 1976599 Nov 18 10:15 metadata_dictionary_faq.1550175781.couch
-rw-r--r--  1 couchdb couchdb   12432 Jan 30  2019 pjk_rep_test.1539891783.couch
-rw-r--r--  1 couchdb couchdb   90300 Jul  9 09:02 _replicator.1539344313.couch
-rw-r--r--  1 couchdb couchdb   12467 Jan 29  2019 _users.1539344313.couch

./e0000000-ffffffff:
total 3848
drwxr-xr-x  2 couchdb couchdb    4096 Oct 28 15:05 .
drwxr-xr-x 10 couchdb couchdb     206 Oct 12  2018 ..
-rw-r--r--  1 couchdb couchdb   53439 Jul  9 07:39 build_queue.1539344519.couch
-rw-r--r--  1 couchdb couchdb    4240 Oct 12  2018 cloudforms.1539344527.couch
-rw-r--r--  1 couchdb couchdb   65727 Sep 16 09:34 _global_changes.1539344313.couch
-rw-r--r--  1 couchdb couchdb   65727 Jul  9 08:59 hieradb.1539344528.couch
-rw-r--r--  1 couchdb couchdb   24752 Jul  9 09:00 hieramanager_test.1540907701.couch
-rw-r--r--  1 couchdb couchdb   37061 Aug 21 15:39 iac_birth_certificate.1542119804.couch
-rw-r--r--  1 couchdb couchdb   16538 Nov 13  2018 iac_hostname_generator.1542119640.couch
-rw-r--r--  1 couchdb couchdb  939312 Nov 18 10:14 iac_metadata_manager.1561041628.couch
-rw-r--r--  1 couchdb couchdb   24767 Sep 20 17:42 iac_reference_data.1542135843.couch
-rw-r--r--  1 couchdb couchdb   45247 Dec 12  2018 jdsandbox.1539344533.couch
-rw-r--r--  1 couchdb couchdb   41158 Jul  9 09:02 labalpha.1539344538.couch
-rw-r--r--  1 couchdb couchdb   98495 Oct 30 10:33 labbeta.1539344543.couch
-rw-r--r--  1 couchdb couchdb  102598 Oct 30 10:33 labrand.1539344548.couch
-rw-r--r--  1 couchdb couchdb   20656 Jul  9 09:03 metadata.1539344552.couch
-rw-r--r--  1 couchdb couchdb  200901 Oct 28 15:05 metadata_dictionary.1539885019.couch
-rw-r--r--  1 couchdb couchdb   28869 Oct 28 15:05 metadata_dictionary_classes.1547583298.couch
-rw-r--r--  1 couchdb couchdb 1978382 Nov 18 10:16 metadata_dictionary_faq.1550175781.couch
-rw-r--r--  1 couchdb couchdb   12473 Jan 30  2019 pjk_rep_test.1539891783.couch
-rw-r--r--  1 couchdb couchdb   49340 Jul  9 09:22 _replicator.1539344313.couch
-rw-r--r--  1 couchdb couchdb   37049 Jan 29  2019 _users.1539344313.couch



Peter J Krawetzky | Senior Technical Infrastructure Specialist, Automation Engineering
P 860-808-6112
151 Farmington Avenue, Mail Code AN14, Hartford, CT 06156

CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.


Proprietary

-----Original Message-----
From: Jan Lehnardt <ja...@apache.org> 
Sent: Monday, November 18, 2019 10:05 AM
To: CouchDB Users <us...@couchdb.apache.org>
Subject: [EXTERNAL] Re: Backup Question on Version 2.2.0

**** External Email - Use Caution ****

Hi Peter,

The documentation page on Backups explains how to backup sharded database files: https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.couchdb.org_en_stable_maintenance_backups.html&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR4au4Qq4-1YoAJiK4L8oLRgkWUSohjycty4jPGO0A&s=YworDTjqApVrypjVvkD_EWWJYlzXPWUlTIUMK3MovZk&e= 

Best
Jan
-- 
Professional Support for Apache CouchDB:
https://urldefense.proofpoint.com/v2/url?u=https-3A__neighbourhood.ie_couchdb-2Dsupport_&d=DwIFAg&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=Ulso89q-0BjB0ggqmYLyceHKDmVY5dIGOZNJfmTKCwE&m=ULR4au4Qq4-1YoAJiK4L8oLRgkWUSohjycty4jPGO0A&s=sfWEDC8sI73_fu3uIxyhMJ2Gqw0Mynftjj5JmnUuqu4&e= 


> On 18. Nov 2019, at 15:50, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
> 
> I know the document recommendation is to use replication for backups but I want to make sure I provide a recovery solution in case someone totally deletes a document or data within a document by accident and I can recover that.  Replication doesn't provide for this situation.
> 
> The documentation references backing up .couch files but my implementation doesn't have those.  All of my database files are broken up under the shards directory.  I have no single point of  a database name based on the documentation reference.  Do I just copy the shards directory now?
> 
> Any advice would be great.
> 
> 
> 
> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
> 
> 
> 
> Proprietary
> 
> NOTICE TO RECIPIENT OF INFORMATION:
> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
> Thank you. Aetna

NOTICE TO RECIPIENT OF INFORMATION:
This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
Thank you. Aetna

Re: Backup Question on Version 2.2.0

Posted by Jan Lehnardt <ja...@apache.org>.
Hi Peter,

The documentation page on Backups explains how to backup sharded database files: http://docs.couchdb.org/en/stable/maintenance/backups.html

Best
Jan
-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


> On 18. Nov 2019, at 15:50, Krawetzky, Peter J <Kr...@aetna.com.INVALID> wrote:
> 
> I know the document recommendation is to use replication for backups but I want to make sure I provide a recovery solution in case someone totally deletes a document or data within a document by accident and I can recover that.  Replication doesn't provide for this situation.
> 
> The documentation references backing up .couch files but my implementation doesn't have those.  All of my database files are broken up under the shards directory.  I have no single point of  a database name based on the documentation reference.  Do I just copy the shards directory now?
> 
> Any advice would be great.
> 
> 
> 
> CONFIDENTIALITY NOTICE: This communication and any attachments may contain confidential and/or privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and destroy all copies of this communication and any attachments.
> 
> 
> 
> Proprietary
> 
> NOTICE TO RECIPIENT OF INFORMATION:
> This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.  
> This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
> Thank you. Aetna



Re: Backup Question on Version 2.2.0

Posted by Adrien Vergé <ad...@tolteck.com>.
Hi,

Instead of backup up the shards directory, you could use the coucharchive
tool: https://github.com/adrienverge/coucharchive

Regards,

Adrien Vergé

Le lun. 18 nov. 2019 à 15:50, Krawetzky, Peter J
<Kr...@aetna.com.invalid> a écrit :

> I know the document recommendation is to use replication for backups but I
> want to make sure I provide a recovery solution in case someone totally
> deletes a document or data within a document by accident and I can recover
> that.  Replication doesn't provide for this situation.
>
> The documentation references backing up .couch files but my implementation
> doesn't have those.  All of my database files are broken up under the
> shards directory.  I have no single point of  a database name based on the
> documentation reference.  Do I just copy the shards directory now?
>
> Any advice would be great.
>
>
>
> CONFIDENTIALITY NOTICE: This communication and any attachments may contain
> confidential and/or privileged information for the use of the designated
> recipients named above. If you are not the intended recipient, you are
> hereby notified that you have received this communication in error and that
> any review, disclosure, dissemination, distribution or copying of it or its
> contents is prohibited. If you have received this communication in error,
> please notify the sender immediately by email or telephone and destroy all
> copies of this communication and any attachments.
>
>
>
> Proprietary
>
> NOTICE TO RECIPIENT OF INFORMATION:
> This e-mail may contain confidential or privileged information. If you
> think you have received this e-mail in error, please advise the sender by
> reply e-mail and then delete this e-mail immediately.
> This e-mail may also contain protected health information (PHI) with
> information about sensitive medical conditions, including, but not limited
> to, treatment for substance use disorders, behavioral health, HIV/AIDS, or
> pregnancy. This type of information may be protected by various federal
> and/or state laws which prohibit any further disclosure without the express
> written consent of the person to whom it pertains or as otherwise permitted
> by law. Any unauthorized further disclosure may be considered a violation
> of federal and/or state law. A general authorization for the release of
> medical or other information may NOT be sufficient consent for release of
> this type of information.
> Thank you. Aetna
>