עבור לתוכן

מחפש פקודה ביוניקס

Featured Replies

פורסם

אני מחפש 2 פקודות ביוניק

1 לכיון שעה

2 לשחזור קבצים דרך טיפ גבוי

פורסם

1. DATE

פורסם

שעון:

$ date

Sun Jul 14 21:53:41 EET DST 1996

$

גיבוי:

מהאתר של :cyberciti

http://www.cyberciti.biz/faq/unix-verify-tape-backup/

Type the command as follows to backup /home to /dev/st0 and attempt to verify the archive after writing it /dev/st0.

# tar -cvpWlf /dev/st0 /home

Where,

c : create a new archive of /home

v : Verbose output

p : Ignore umask when extracting files i.e. preserve permissions on files

W : attempt to verify the archive after writing it

l : stay in local file system when creating an archive

f : Specify /dev/st0 as tape device (file)

/dev/st0: Tape device name.

/home : Directory to backup

For more information see:

Linux tape backup with mt and tar command

http://nixcraft.com/index.php?utm_source=cyberciti.biz&utm_campaign=cantfindanswer&utm_medium=link

פורסם
  • מחבר

לגבי השעון אין משהו רק לשעה או שאני חייב לכתוב את כול התראיך ?

והמון המון תודה

פורסם

1. לא, צריך להקיש את כל התאריך. אבל ביוניקסים מודרניים מריצים בד"כ NTP CLIENT שעושה את העבודה.

2. לגבי הגיבוי זה תלוי בתוכנה שעשתה את הגיבוי.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים