Blame view

sources/core/doc/user/files/versioncontrol.html 7.81 KB
d1bafeea1   Kload   [fix] Upgrade to ...
1
2
3
4
5
6
7
8
9
  
  <!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" />
      
6d9380f96   Cédric Dupont   Update sources OC...
10
      <title>Version Control &mdash; ownCloud User Manual 7.0 documentation</title>
d1bafeea1   Kload   [fix] Upgrade to ...
11
12
13
14
15
16
17
18
19
      
      <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:    '../',
6d9380f96   Cédric Dupont   Update sources OC...
20
          VERSION:     '7.0',
d1bafeea1   Kload   [fix] Upgrade to ...
21
22
23
24
25
26
27
28
29
          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>
6d9380f96   Cédric Dupont   Update sources OC...
30
      <link rel="top" title="ownCloud User Manual 7.0 documentation" href="../index.html" />
d1bafeea1   Kload   [fix] Upgrade to ...
31
      <link rel="up" title="Files &amp; Synchronization" href="index.html" />
6d9380f96   Cédric Dupont   Update sources OC...
32
33
      <link rel="next" title="Using Server-to-Server Sharing" href="server_to_server_using.html" />
      <link rel="prev" title="Accessing Files Using WebDAV" href="files.html" />
d1bafeea1   Kload   [fix] Upgrade to ...
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
  <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>
6d9380f96   Cédric Dupont   Update sources OC...
116
  <li class="toctree-l1"><a class="reference internal" href="../index.html">ownCloud 7.0 User Documentation</a></li>
d1bafeea1   Kload   [fix] Upgrade to ...
117
118
  </ul>
  <ul class="current">
6d9380f96   Cédric Dupont   Update sources OC...
119
  <li class="toctree-l1"><a class="reference internal" href="../whats_new.html">New in ownCloud 7</a></li>
d1bafeea1   Kload   [fix] Upgrade to ...
120
121
  <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">
6d9380f96   Cédric Dupont   Update sources OC...
122
123
  <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>
d1bafeea1   Kload   [fix] Upgrade to ...
124
  <li class="toctree-l2 current"><a class="current reference internal" href="">Version Control</a></li>
6d9380f96   Cédric Dupont   Update sources OC...
125
126
  <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"><a class="reference internal" href="deletedfiles.html">Managing Deleted Files</a></li>
d1bafeea1   Kload   [fix] Upgrade to ...
127
  <li class="toctree-l2"><a class="reference internal" href="sync.html">Desktop Synchronization</a></li>
6d9380f96   Cédric Dupont   Update sources OC...
128
  <li class="toctree-l2"><a class="reference internal" href="encryption.html">Encrypting Files</a></li>
d1bafeea1   Kload   [fix] Upgrade to ...
129
  <li class="toctree-l2"><a class="reference internal" href="quota.html">Storage Quota</a></li>
6d9380f96   Cédric Dupont   Update sources OC...
130
  <li class="toctree-l2"><a class="reference internal" href="configuring_big_file_upload.html">Managing Big Files</a></li>
d1bafeea1   Kload   [fix] Upgrade to ...
131
132
133
134
135
136
137
  </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>
6d9380f96   Cédric Dupont   Update sources OC...
138
  <li class="toctree-l1"><a class="reference internal" href="../external_storage/google_drive.html">Configuring External Storage</a></li>
d1bafeea1   Kload   [fix] Upgrade to ...
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
  </ul>
  
  								</ul>
  							</div>
  						</div>
  					</div>
  				</div>
          
  
  				<div class="span9">
  					<div class="page-content">
  						
    <div class="section" id="version-control">
  <h1>Version Control<a class="headerlink" href="#version-control" title="Permalink to this headline">¶</a></h1>
  <p>ownCloud supports simple version control for files. Versioning creates backups
  of files which are accessible via the Versions link. This link contains the
  history of the file where you can roll back a file to any previous version. Changes
  made at intervals greater than two minutes are saved in data/[user]/versions,
  and made accessible using the above pages.</p>
  <p>To restore a specific version of a file, hover your cursor on a file and click
  <em>Versions</em> link. If any version is available, you should see a list like the image
  below:</p>
  <div class="figure">
  <img alt="../_images/files_versioning.png" src="../_images/files_versioning.png" />
  </div>
  <p>Clicking on <em>Restore</em> next to any version will revert the file to that
  version back.</p>
  <p>The versioning app expires old versions automatically to make sure that
  the user doesn&#8217;t run out of space. Following pattern is used to delete
  old versions:</p>
  <ul class="simple">
6d9380f96   Cédric Dupont   Update sources OC...
170
  <li>For the first second we keep one version</li>
d1bafeea1   Kload   [fix] Upgrade to ...
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
  <li>For the first 10 seconds ownCloud keeps one version every 2 seconds</li>
  <li>For the first minute ownCloud keeps one version every 10 seconds</li>
  <li>For the first hour ownCloud keeps one version every minute</li>
  <li>For the first 24 hours ownCloud keeps one version every hour</li>
  <li>For the first 30 days ownCloud keeps one version every day</li>
  <li>After the first 30 days ownCloud keeps one version every week</li>
  </ul>
  <p>The versions are adjusted along this pattern every time a new version gets
  created.</p>
  <p>Beside that the version app takes care to never use more that 50% of the users
  currently available free space. If the stored versions exceed this limit ownCloud
  delete the oldest versions until it meets the memory usage limit again.</p>
  </div>
  
  
  					</div>
  				</div>
  			</div>
      
    </div>
  </div>
    </body>
  </html>