<?xml version="1.0" encoding="UTF-8"?>


<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->


	
<helpdocument version="1.0">
<meta>
<topic id="textsharedguidedoc_autosavexml" indexer="include" status="PUBLISH">
<title id="tit">Saving Documents Automatically</title>
<filename>/text/shared/guide/doc_autosave.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
<section id="chapter_all">
<bookmark branch="index" id="bm_id3152924"><bookmark_value>documents; saving automatically</bookmark_value>
<bookmark_value>saving;documents, automatically</bookmark_value>
<bookmark_value>automatic saving</bookmark_value>
<bookmark_value>backups;automatic</bookmark_value>
<bookmark_value>files; saving automatically</bookmark_value>
<bookmark_value>text documents; saving automatically</bookmark_value>
<bookmark_value>spreadsheets; saving automatically</bookmark_value>
<bookmark_value>drawings; saving automatically</bookmark_value>
<bookmark_value>presentations; saving automatically</bookmark_value>
</bookmark>
<paragraph role="paragraph" id="par_id3152924" localize="false"/>
<paragraph role="heading" id="hd_id3155536" level="1"><variable id="doc_autosave"><link href="text/shared/guide/doc_autosave.xhp">Saving Documents Automatically</link>
</variable></paragraph>
<note id="par_id0102033">The following two options are turned on by default on new installations.</note>
<h2 id="hd_id3166410">To create a backup file every time you save a document</h2>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3152780">Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - </emph><link href="text/shared/optionen/01010200.xhp"><emph>Load/Save - General</emph></link>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3148474">Mark <emph>Always create backup copy</emph>.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3149797">If the <emph>Always create backup copy</emph> option is selected, the old version of the file is saved to the backup directory whenever you save the current version of the file. </paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3148685">You can change the backup directory by choosing <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - $[officename] - Paths</emph>, then change the <emph>Backups</emph> path in the dialog.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149415">The backup copy has the same name as the document, but the extension is .BAK. If the backup folder already contains such a file, it will be overwritten without warning.</paragraph>
</listitem>
</list>
<h2 id="hd_id3149514">To save recovery information automatically every n minutes</h2>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3148563">Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - </emph><link href="text/shared/optionen/01010200.xhp"><emph>Load/Save - General</emph></link>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154760">Mark <emph>Save AutoRecovery information every</emph> and select the time interval.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3153526">This command saves the information necessary to restore the current document in case of a crash. Additionally, in case of a crash %PRODUCTNAME tries automatically to save AutoRecovery information for all open documents, if possible.</paragraph>
</section>
<section id="relatedtopics">
<embed href="text/shared/guide/export_ms.xhp#export_ms"/>
<embed href="text/shared/guide/doc_save.xhp#doc_save"/>
<paragraph role="paragraph" id="par_id3148672"><link href="text/shared/01/01070000.xhp">Save As</link></paragraph>
<paragraph role="paragraph" id="par_id3159150"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01010200.xhp">Load/Save - General</link></paragraph>
<paragraph role="paragraph" id="par_idN10838"><link href="text/shared/guide/error_report.xhp">Error Report Tool</link></paragraph>
<paragraph role="paragraph" id="par_idN10888"><link href="https://wiki.documentfoundation.org/Videos/Preventing_data_disaster">Wiki article about preventing data loss when working on documents</link></paragraph>
</section>
</body>
</helpdocument>
