?i»?
Current Path : /home/scgforma/www/cloud/core/doc/admin/configuration_files/ |
Current File : /home/scgforma/www/cloud/core/doc/admin/configuration_files/file_versioning.html |
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Controlling file versions and aging — Nextcloud 13 Administration Manual 13 documentation</title> <link rel="stylesheet" href="../_static/" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <link rel="stylesheet" href="../_static/main.min.css" type="text/css" /> <link rel="stylesheet" href="../_static/styles.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '13', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/js/jquery-1.11.0.min.js"></script> <script type="text/javascript" src="../_static/js/jquery-fix.js"></script> <script type="text/javascript" src="../_static/bootstrap-3.1.0/js/bootstrap.min.js"></script> <script type="text/javascript" src="../_static/bootstrap-sphinx.js"></script> <link rel="top" title="Nextcloud 13 Administration Manual 13 documentation" href="../contents.html" /> <link rel="up" title="File sharing and management" href="index.html" /> <link rel="next" title="File workflows" href="../file_workflows/index.html" /> <link rel="prev" title="Previews configuration" href="previews_configuration.html" /> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'> <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="theme-color" content="#1d2d44"> </head> <body role="document"> <div class="wrap container not-front"> <div class="content row"> <main class="main"> <div class="row"> <div class="col-md-3"> <div class="sidebar"> <h1>Nextcloud 13 Administration Manual</h1> <div class="sidebar-search"> <form class="headersearch" action="../search.html" method="get"> <input type="text" value="" name="q" id="q" class="form-control" /> <button class="btn btn-default" type="submit" id="searchsubmit">Search</button> </form> </div> <div class="menu-support-container"> <ul id="menu-support" class="menu"> <ul> <li><a href="../contents.html">Table of Contents</a></li> </ul> <ul class="current"> <li class="toctree-l1"><a class="reference internal" href="../index.html">Introduction</a></li> <li class="toctree-l1"><a class="reference internal" href="../release_notes.html">Release notes</a></li> <li class="toctree-l1"><a class="reference internal" href="../installation/index.html">Installation</a></li> <li class="toctree-l1"><a class="reference internal" href="../configuration_server/index.html">Server configuration</a></li> <li class="toctree-l1"><a class="reference internal" href="../configuration_user/index.html">User management</a></li> <li class="toctree-l1 current"><a class="reference internal" href="index.html">File sharing and management</a><ul class="current"> <li class="toctree-l2"><a class="reference internal" href="file_sharing_configuration.html">File Sharing</a></li> <li class="toctree-l2"><a class="reference internal" href="federated_cloud_sharing_configuration.html">Configuring Federation Sharing</a></li> <li class="toctree-l2"><a class="reference internal" href="big_file_upload_configuration.html">Uploading big files > 512MB</a></li> <li class="toctree-l2"><a class="reference internal" href="default_files_configuration.html">Providing default files</a></li> <li class="toctree-l2"><a class="reference internal" href="external_storage_configuration_gui.html">Configuring External Storage (GUI)</a></li> <li class="toctree-l2"><a class="reference internal" href="external_storage_configuration.html">Configuring External Storage (configuration file)</a></li> <li class="toctree-l2"><a class="reference internal" href="external_storage/auth_mechanisms.html">External Storage authentication mechanisms</a></li> <li class="toctree-l2"><a class="reference internal" href="encryption_configuration.html">Encryption configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="files_locking_transactional.html">Transactional file locking</a></li> <li class="toctree-l2"><a class="reference internal" href="previews_configuration.html">Previews configuration</a></li> <li class="toctree-l2 current"><a class="current reference internal" href="">Controlling file versions and aging</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../file_workflows/index.html">File workflows</a></li> <li class="toctree-l1"><a class="reference internal" href="../configuration_database/index.html">Database configuration</a></li> <li class="toctree-l1"><a class="reference internal" href="../configuration_mimetypes/index.html">Mimetypes management</a></li> <li class="toctree-l1"><a class="reference internal" href="../maintenance/index.html">Maintenance</a></li> <li class="toctree-l1"><a class="reference internal" href="../issues/index.html">Issues and troubleshooting</a></li> </ul> </ul> </div> </div> </div> <div class="col-md-9"> <div class="page-content"> <ul class="prevnext-title list-unstyled list-inline"> <li class="prev"> <a href="previews_configuration.html" title="Previous Chapter: Previews configuration"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm">« Previews configuration</span> </a> </li> <li class="next"> <a href="../file_workflows/index.html" title="Next Chapter: File workflows"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm">File workflows »</span> </a> </li> </ul> <div class="section" id="controlling-file-versions-and-aging"> <h1>Controlling file versions and aging<a class="headerlink" href="#controlling-file-versions-and-aging" title="Permalink to this headline">¶</a></h1> <p>The Versions app (files_versions) expires old file versions automatically to ensure that users don’t exceed their storage quotas. This is the default pattern used to delete old versions:</p> <ul class="simple"> <li>For the first second we keep one version</li> <li>For the first 10 seconds Nextcloud keeps one version every 2 seconds</li> <li>For the first minute Nextcloud keeps one version every 10 seconds</li> <li>For the first hour Nextcloud keeps one version every minute</li> <li>For the first 24 hours Nextcloud keeps one version every hour</li> <li>For the first 30 days Nextcloud keeps one version every day</li> <li>After the first 30 days Nextcloud keeps one version every week</li> </ul> <p>The versions are adjusted along this pattern every time a new version is created.</p> <p>The Versions app never uses more that 50% of the user’s currently available free space. If the stored versions exceed this limit, Nextcloud deletes the oldest file versions until it meets the disk space limit again.</p> <p>You may alter the default pattern in <code class="docutils literal"><span class="pre">config.php</span></code>. The default setting is <code class="docutils literal"><span class="pre">auto</span></code>, which sets the default pattern:</p> <div class="highlight-python"><div class="highlight"><pre>'versions_retention_obligation' => 'auto', </pre></div> </div> <p>Additional options are:</p> <ul> <li><dl class="first docutils"> <dt><code class="docutils literal"><span class="pre">D,</span> <span class="pre">auto</span></code></dt> <dd><p class="first last">Keep versions at least for D days, apply expiration rules to all versions that are older than D days</p> </dd> </dl> </li> <li><dl class="first docutils"> <dt><code class="docutils literal"><span class="pre">auto,</span> <span class="pre">D</span></code></dt> <dd><p class="first last">Delete all versions that are older than D days automatically, delete other versions according to expiration rules</p> </dd> </dl> </li> <li><dl class="first docutils"> <dt><code class="docutils literal"><span class="pre">D1,</span> <span class="pre">D2</span></code></dt> <dd><p class="first last">Keep versions for at least D1 days and delete when they exceed D2 days.</p> </dd> </dl> </li> <li><dl class="first docutils"> <dt><code class="docutils literal"><span class="pre">disabled</span></code></dt> <dd><p class="first last">Disable Versions; no files will be deleted.</p> </dd> </dl> </li> </ul> </div> <ul class="prevnext-title list-unstyled list-inline"> <li class="prev"> <a href="previews_configuration.html" title="Previous Chapter: Previews configuration"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm">« Previews configuration</span> </a> </li> <li class="next"> <a href="../file_workflows/index.html" title="Next Chapter: File workflows"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm">File workflows »</span> </a> </li> </ul> </div> </div> </div> </main> </div> </div> </body> </html>