Browsing Romanian translation

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Romanian guidelines.
36493658 of 3734 results
3649.
Archive Rotation
(no translation yet)
Translated by Adi Roiban
Reviewed by Adi Roiban
Located in serverguide/C/backups.xml:358(title)
3650.
The shell script in section <xref linkend="backup-shellscripts"/> only allows for seven different archives. For a server whose data doesn't change often this may be enough. If the server has a large amount of data a more robust rotation scheme should be used.
(no translation yet)
Located in serverguide/C/backups.xml:359(para)
3651.
Rotating NFS Archives
(no translation yet)
Translated by Adi Roiban
Reviewed by Adi Roiban
Located in serverguide/C/backups.xml:365(title)
3652.
In this section the shell script will be slightly modified to implement a grandfather-father-son rotation scheme (monthly-weekly-daily):
(no translation yet)
Located in serverguide/C/backups.xml:366(para)
3653.
The rotation will do a <emphasis>daily</emphasis> backup Sunday through Friday.
(no translation yet)
Translated by Adi Roiban
Reviewed by Adi Roiban
Located in serverguide/C/backups.xml:372(para)
3654.
On Saturday a <emphasis>weekly</emphasis> backup is done giving you four weekly backups a month.
(no translation yet)
Located in serverguide/C/backups.xml:377(para)
3655.
The <emphasis>monthly</emphasis> backup is done on the first of the month rotating two monthly backups based on if the month is odd or even.
(no translation yet)
Located in serverguide/C/backups.xml:382(para)
3656.
Here is the new script:
Acesta este noul script:
Translated by Alexandru Iacob
Reviewed by Adi Roiban
Located in serverguide/C/backups.xml:388(para)
3657.

#!/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:391(programlisting)
3658.
The script can be executed using the same methods as in <xref linkend="backup-executing-shellscript"/>.
Sciptul poate fi executat folosind aceeaşi metoda ca la <xref linkend="backup-executing-shellscript"/>.
Translated by Alexandru Iacob
Reviewed by Adi Roiban
Located in serverguide/C/backups.xml:456(para)
36493658 of 3734 results

This translation is managed by Ubuntu Romanian Quality Assurance, assigned by Ubuntu Translators.

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

Contributors to this translation: Adi Roiban, Alexandru Burlacu, Alexandru Iacob, Alin-Florin Rus-Rebreanu, Chisu Vasile Marius, Cosmin L, Cristi Nistor, Dan Telecan, DanI, Doru Horișco, Ionuț Jula, Lucian Adrian Grijincu, Monica_Tomus, Octav Opaschi, Silviu Bojica, Ubuntu.zLenox.info, Visinescu Gabriel, darcklau, gheorghe1800@yahoo.com, mafia4ever, svens.