KOPANO-ARCHIVER(8)
π KOPANO-ARCHIVER(8) π
okay bestie, gather round, because we're about to talk about kopano-archiver β the little legend from the Kopano Core user reference that runs the whole archive situation for you. no cap, this one's a whole personality. ποΈβ¨
β¨ NAME β¨
kopano-archiver β manages kopano archives and performs the archive operation. that's it, that's the job. she does both. π
πΈ SYNOPSIS πΈ
kopano-archiver [OPTION...]
π¦ DESCRIPTION π¦
so basically, this tool is how you attach or detach archives to a user's store. and what even is an archive? an archive is defined as a special non-active store or a folder inside such a store. that's the definition, take it or leave it. π¦
and on top of the whole managing-archives thing, this tool is also the one that performs the actual archive operation. if you use the -u option, the archiver can be told to archive a single store, or, like, literally all of them. main character energy honestly. π
π ACTIONS π
kopano-archiver needs an action command plus the appropriate options. the valid actions are, in order, no skipping:
-l,--listβ list archives for the specified user. the-uoption is required here, don't forget it bestie.-L,--list-archiveusersβ list the users that have an archive attached. simple, clean, iconic.-A,--archiveβ perform an archive run. if you give it a-uoption, only the store of that one user gets archived. otherwise all stores get archived. optionally you can set the--local-onlyoption so it only archives stores that exist on the server to whichkopano-archiveris connected (usually the local server). π₯οΈ-C,--cleanupβ perform an archive cleanup run. if a-uoption is provided, only the archives of that one user get cleaned. otherwise all stores get cleaned. optionally the--local-onlyoption can be set so it only cleans up archives of users that have their primary store on the server to whichkopano-archiveris connected (usually the local server).-aarchive,--attach-toarchive β attach an archive to the store of the user specified with the-uoption. if you don't specify any additional options, a folder gets created in the archive store, and that folder acts as the root of the archive for that user. the foldername gets set to the username of the user. want different behaviour? pass--archive-folderor--no-folderand it'll switch up. π«Ά-darchive,--detach-fromarchive β detach an archive from the store of the user specified with the-uoption.kopano-archiverwill automatically figure out which folder to detach. BUT. if a user has two archives in one archive store,kopano-archiverwon't be able to tell which one needs to be detached. in that case the folder has to be specified with the--archive-folderoption. no guessing games, bestie. π-Darchiveno,--detacharchiveno β detach an archive from the store of the user specified with the-uoption. the archive to detach is indicated by archiveno, and you can get that by runningkopano-archiver -u username -l. iykyk. π₯--auto-attachβ when no user is specified with-u, all users will have their archives attached or detached based on the LDAP/ADS settings. if a user is specified, only that user's store gets processed. you can combine this with-Ato force an auto-attach run regardless of theenable_auto_attachconfiguration option. forcing it? bold. we respect it. π--dump-configβ displays the values ofarchiver.cfgconfiguration parameters and the implied defaults. peak transparency, we love to see it. π
π OPTIONS π
the options used by actions are as follows:
-uusername β use this parameter to specify a user on which store to perform the provided action. this one shows up everywhere, she's booked and busy.--local-onlyβ if this option is passed when an archive run is started, only stores that exist on the server to whichkopano-archiveris connected will be archived.--archive-folderfoldername β use this option to forcekopano-archiverto create the archive folder with a different name than the username of the user for whom you're attaching an archive.--archive-serverserverpath β use this option to specify the path to the archive server. super useful when you're using the archiver in a non-multiserver setup.--no-folderβ use this option to forcekopano-archiverto create the root of the archive in the root of the archive store (theIPMsubtree). heads up though: this way only one user store can be attached to an archive. one. single. user. choose wisely. π¨-wβ by defaultkopano-archivermakes an archive read-only for the user. by passing this option, the user gets read/write permissions in the attached archive.
this will override the auto_attach_writable configuration options when auto attaching archives.
--writable yes|noβ explicitly enable or disable write permissions when (auto) attaching archives.
this will override the auto_attach_writable configuration options when auto attaching archives.
-cfile β select an alternate config file to be used bykopano-archiver.- Default:
/etc/kopano/archiver.cfg
- Default:
π EXAMPLES π
okay now the fun part, copy-paste fuel:
for attaching an archive:
kopano-archiver -u username --attach-to archive
for attaching an archive with a custom archive name:
kopano-archiver -u username --attach-to archive --archive-name archivename
for attaching an archive without an archive folder:
kopano-archiver -u username --attach-to archive --no-folder
for detaching an archive:
kopano-archiver -u username --detach-from archive
for starting an archive run:
kopano-archiver -A
for starting an archive run for one user:
kopano-archiver -u username -A
for starting a cleanup run:
kopano-archiver -C
for starting a cleanup run for one user:
kopano-archiver -u username -C
ate. no crumbs. β¨
π AUTHOR π
written by Kopano. π
π§ SEE ALSO π§
kopano-server(8), kopano-archiver.cfg(5) β go read those too, they're the supporting cast and they serve. π
and that's the whole vibe bestie!! this page is straight from Kopano 8, dated November 2016 β old but iconic, fr fr. now go archive something responsibly. πΈπ¦βπ
π¦ where this page comes from
- ubuntu jammy: kopano-archiver 8.7.0-7.1ubuntu10 Β· AGPL-3.0-only
- ubuntu jammy: kopano-archiver 8.7.0-7.1ubuntu10.1 Β· AGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms