Browsing Spanish translation

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Spanish guidelines.
20512060 of 2063 results
4750.
The <application>tar</application> utility creates one archive file out of many files or directories. <application>tar</application> can also filter the files through compression utilities, thus reducing the size of the archive file.
(no translation yet)
Located in serverguide/C/backups.xml:27(para)
4753.

#!/bin/bash
####################################
#
# Backup to NFS mount script.
#
####################################

# What to backup.
backup_files="/home /var/spool/mail /etc /root /boot /opt"

# Where to backup to.
dest="/mnt/backup"

# Create archive filename.
day=$(date +%A)
hostname=$(hostname -s)
archive_file="$hostname-$day.tgz"

# Print start status message.
echo "Backing up $backup_files to $dest/$archive_file"
date
echo

# Backup the files using tar.
tar czf $dest/$archive_file $backup_files

# Print end status message.
echo
echo "Backup finished"
date

# Long listing of files in $dest to check file sizes.
ls -lh $dest
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
(no translation yet)
Located in serverguide/C/backups.xml:38(programlisting)
4765.
This is a simple example of a backup shell script; however there are many options that can be included in such a script. See <xref linkend="backup-shellscript-references"/> for links to resources providing more in-depth shell scripting information.
(no translation yet)
Located in serverguide/C/backups.xml:143(para)
4768.
The simplest way of executing the above backup script is to copy and paste the contents into a file. <filename>backup.sh</filename> for example. The file must be made executable:
(no translation yet)
Located in serverguide/C/backups.xml:153(para)
4769.
chmod u+x backup.sh
(no translation yet)
Located in serverguide/C/backups.xml:158(command)
4770.
Then from a terminal prompt:
(no translation yet)
Located in serverguide/C/backups.xml:160(para)
4771.
sudo ./backup.sh
(no translation yet)
Located in serverguide/C/backups.xml:164(command)
4822.

#!/bin/bash
####################################
#
# Backup to NFS mount script with
# grandfather-father-son rotation.
#
####################################

# What to backup.
backup_files="/home /var/spool/mail /etc /root /boot /opt"

# Where to backup to.
dest="/mnt/backup"

# Setup variables for the archive filename.
day=$(date +%A)
hostname=$(hostname -s)

# Find which week of the month 1-4 it is.
day_num=$(date +%-d)
if (( $day_num &lt;= 7 )); then
week_file="$hostname-week1.tgz"
elif (( $day_num &gt; 7 &amp;&amp; $day_num &lt;= 14 )); then
week_file="$hostname-week2.tgz"
elif (( $day_num &gt; 14 &amp;&amp; $day_num &lt;= 21 )); then
week_file="$hostname-week3.tgz"
elif (( $day_num &gt; 21 &amp;&amp; $day_num &lt; 32 )); then
week_file="$hostname-week4.tgz"
fi

# Find if the Month is odd or even.
month_num=$(date +%m)
month=$(expr $month_num % 2)
if [ $month -eq 0 ]; then
month_file="$hostname-month2.tgz"
else
month_file="$hostname-month1.tgz"
fi

# Create archive filename.
if [ $day_num == 1 ]; then
[tab]archive_file=$month_file
elif [ $day != "Saturday" ]; then
archive_file="$hostname-$day.tgz"
else
[tab]archive_file=$week_file
fi

# Print start status message.
echo "Backing up $backup_files to $dest/$archive_file"
date
echo

# Backup the files using tar.
tar czf $dest/$archive_file $backup_files

# Print end status message.
echo
echo "Backup finished"
date

# Long listing of files in $dest to check file sizes.
ls -lh $dest/
[tab] represents a tab character. Please write it exactly the same way, [tab], in your translation.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
(no translation yet)
Located in serverguide/C/backups.xml:401(programlisting)
4827.
A tape drive attached to the server can be used instead of an NFS share. Using a tape drive simplifies archive rotation, and makes taking the media off-site easier as well.
(no translation yet)
Located in serverguide/C/backups.xml:483(para)
4848.
If using MySQL or PostgreSQL as your database, you should already have the services available. <application>Bacula</application> will not install them for you.
(no translation yet)
Located in serverguide/C/backups.xml:604(para)
20512060 of 2063 results

This translation is managed by Ubuntu Spanish Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Adolfo Jayme Barrientos, Clever, Daniel G, Doug Smythies, Eduardo Alberto Calvo, Federico Lazcano, Ivan, Jose Luis Tirado, Monkey, Paco Molinero, jamesjedimaster, nat6091.