deletedfiles.html 9.32 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Managing Deleted Files &mdash; ownCloud User Manual 7.0 documentation</title>
    
    <link rel="stylesheet" href="../_static/style.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="../_static/style.css" type="text/css" />
    <link rel="stylesheet" href="../_static/bootstrap-sphinx.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '7.0',
        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/bootstrap.js"></script>
    <link rel="top" title="ownCloud User Manual 7.0 documentation" href="../index.html" />
    <link rel="up" title="Files &amp; Synchronization" href="index.html" />
    <link rel="next" title="Desktop Synchronization" href="sync.html" />
    <link rel="prev" title="Using Server-to-Server Sharing" href="server_to_server_using.html" />
<script type="text/javascript">
(function () {
  /**
   * Patch TOC list.
   *
   * Will mutate the underlying span to have a correct ul for nav.
   *
   * @param $span: Span containing nested UL's to mutate.
   * @param minLevel: Starting level for nested lists. (1: global, 2: local).
   */
  var patchToc = function ($ul, minLevel) {
    var findA;

    // Find all a "internal" tags, traversing recursively.
    findA = function ($elem, level) {
      var level = level || 0,
        $items = $elem.find("> li > a.internal, > ul, > li > ul");

      // Iterate everything in order.
      $items.each(function (index, item) {
        var $item = $(item),
          tag = item.tagName.toLowerCase(),
          pad = 15 + ((level - minLevel) * 10);

        if (tag === 'a' && level >= minLevel) {
          // Add to existing padding.
          $item.css('padding-left', pad + "px");
          console.log(level, $item, 'padding-left', pad + "px");
        } else if (tag === 'ul') {
          // Recurse.
          findA($item, level + 1);
        }
      });
    };

    console.log("HERE");
    findA($ul);
  };

  $(document).ready(function () {
    // Add styling, structure to TOC's.
    $(".dropdown-menu").each(function () {
      $(this).find("ul").each(function (index, item){
        var $item = $(item);
        $item.addClass('unstyled');
      });
      $(this).find("li").each(function () {
        $(this).parent().append(this);
      });
    });

    // Patch in level.
    patchToc($("ul.globaltoc"), 2);
    patchToc($("ul.localtoc"), 2);

    // Enable dropdown.
    $('.dropdown-toggle').dropdown();
  });
}());
</script>

  </head>
  <body>
  

<div class="container">
  <div class="content">
    <div class="page-header">
      <h1><a href="../contents.html">ownCloud User Manual</a></h1>

    </div>
    
			<div class="row">
				<div class="span3">
					<div class="sidebar">
						<div class="well">
							<div class="menu-support-container">
								<ul id="menu-support" class="menu">
									<ul>
										<li><a href="../contents.html">Overview</a></li>
									</ul>
                  <ul>
<li class="toctree-l1"><a class="reference internal" href="../index.html">ownCloud 7.0 User Documentation</a></li>
</ul>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../whats_new.html">New in ownCloud 7</a></li>
<li class="toctree-l1"><a class="reference internal" href="../webinterface.html">The ownCloud Web Interface</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Files &amp; Synchronization</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="filesweb.html">Accessing your Files Using the Web Interface</a></li>
<li class="toctree-l2"><a class="reference internal" href="files.html">Accessing Files Using WebDAV</a></li>
<li class="toctree-l2"><a class="reference internal" href="versioncontrol.html">Version Control</a></li>
<li class="toctree-l2"><a class="reference internal" href="server_to_server_using.html">Using Server-to-Server Sharing</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="">Managing Deleted Files</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#restoring-files">Restoring Files</a></li>
<li class="toctree-l3"><a class="reference internal" href="#deleting-files">Deleting Files</a></li>
<li class="toctree-l3"><a class="reference internal" href="#modifying-the-deleted-file-age-out-value">Modifying the Deleted File Age-Out Value</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="sync.html">Desktop Synchronization</a></li>
<li class="toctree-l2"><a class="reference internal" href="encryption.html">Encrypting Files</a></li>
<li class="toctree-l2"><a class="reference internal" href="quota.html">Storage Quota</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuring_big_file_upload.html">Managing Big Files</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../pim/index.html">Contacts &amp; Calendar</a></li>
<li class="toctree-l1"><a class="reference internal" href="../bookmarks.html">Using the Bookmarks App</a></li>
<li class="toctree-l1"><a class="reference internal" href="../documents.html">Documents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../migration.html">User Account Migration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../userpreferences.html">Changing Preferences</a></li>
<li class="toctree-l1"><a class="reference internal" href="../external_storage/google_drive.html">Configuring External Storage</a></li>
</ul>

								</ul>
							</div>
						</div>
					</div>
				</div>
        

				<div class="span9">
					<div class="page-content">
						
  <div class="section" id="managing-deleted-files">
<h1>Managing Deleted Files<a class="headerlink" href="#managing-deleted-files" title="Permalink to this headline">¶</a></h1>
<p>ownCloud maintains a copy of deleted files in case you need them again. To
ensure that individual users do not run out of memory, the Files app manages
the total memory size of deleted files for each user. When it comes to managing
deleted files, keep the following in mind:</p>
<ul class="simple">
<li>The total memory allocation for deleted files can never exceed more that 50%
of the currently available free space for each user.</li>
<li>Once the 50% maximum is reached for deleted files, ownCloud begins to delete files,
starting with the oldest versions, until it reaches the memory usage limit again.</li>
</ul>
<p>You can view all of the deleted files by clicking on the <em class="guilabel">Deleted
files</em> button in Files app on the web interface.</p>
<div class="section" id="restoring-files">
<h2>Restoring Files<a class="headerlink" href="#restoring-files" title="Permalink to this headline">¶</a></h2>
<p>To restore a deleted file:</p>
<ol class="arabic">
<li><p class="first">In the Files app, click the <em class="guilabel">Deleted files</em> button.</p>
<p>The Files app shows all deleted files.</p>
<div class="figure">
<img alt="../_images/deleted_files.png" src="../_images/deleted_files.png" />
</div>
<p><strong>Deleted files</strong></p>
</li>
<li><p class="first">Hover the cursor over the file that you want to restore.</p>
<p>Task options appear for the file.</p>
</li>
<li><p class="first">Click the <em class="guilabel">Restore</em> button.</p>
<p>The Files app restores the file to its original location on the server.</p>
</li>
</ol>
</div>
<div class="section" id="deleting-files">
<h2>Deleting Files<a class="headerlink" href="#deleting-files" title="Permalink to this headline">¶</a></h2>
<p>To permanently delete a file:</p>
<ol class="arabic">
<li><p class="first">In the Files app, click the <em class="guilabel">Deleted files</em> button.</p>
<p>See the <strong>Deleted files</strong> image above.</p>
</li>
<li><p class="first">Hover the cursor over the file that you want to delete.</p>
<p>Task options appear for the file.</p>
</li>
<li><p class="first">Click the <em class="guilabel">Trash can</em> button.</p>
<p>The Files app permanently removes the file from the server.</p>
</li>
</ol>
</div>
<div class="section" id="modifying-the-deleted-file-age-out-value">
<h2>Modifying the Deleted File Age-Out Value<a class="headerlink" href="#modifying-the-deleted-file-age-out-value" title="Permalink to this headline">¶</a></h2>
<p>Each time a file is added to the deleted files directory, ownCloud checks the
age of the deleted files. By default, deleted files remain in the deleted files
directory for 180 days.</p>
<p>The administrator can adjust the age-out value in the config.php by setting the
<tt class="docutils literal"><span class="pre">trashbin_retention_obligation</span></tt> value. Files with ages that exceed this value
are deleted permanently.</p>
</div>
</div>


					</div>
				</div>
			</div>
    
  </div>
</div>
  </body>
</html>